Example #1
0
 /// <summary>
 /// Archives a conversation.
 /// <see href="https://api.slack.com/methods/conversations.archive" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='token'>
 /// Authentication token. Requires scope: `conversations:write`
 /// </param>
 /// <param name='channel'>
 /// ID of conversation to archive
 /// </param>
 public static ArchiveOKResponseModel Archive(this IConversations operations, string token = default(string), string channel = default(string))
 {
     return(operations.ArchiveAsync(token, channel).GetAwaiter().GetResult());
 }