Esempio n. 1
0
 /// <summary>
 /// Close a direct message channel.
 /// <see href="https://api.slack.com/methods/im.close" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='token'>
 /// Authentication token. Requires scope: `im:write`
 /// </param>
 /// <param name='channel'>
 /// Direct message channel to close.
 /// </param>
 public static CloseOKResponseModel Close(this IIm operations, string token = default(string), string channel = default(string))
 {
     return(operations.CloseAsync(token, channel).GetAwaiter().GetResult());
 }