示例#1
0
 /// <summary>
 /// Add a comment to an existing file.
 /// <see href="https://api.slack.com/methods/files.comments.add" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='token'>
 /// Authentication token. Requires scope: `files:write:user`
 /// </param>
 /// <param name='comment'>
 /// Text of the comment to add.
 /// </param>
 /// <param name='file'>
 /// File to add a comment to.
 /// </param>
 public static AddOKResponse Add(this IFiles operations, string token = default(string), string comment = default(string), string file = default(string))
 {
     return(operations.AddAsync(token, comment, file).GetAwaiter().GetResult());
 }