Exemple #1
0
 /// <summary>
 /// Sets the purpose for a conversation.
 /// <see href="https://api.slack.com/methods/conversations.setPurpose" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='token'>
 /// Authentication token. Requires scope: `conversations:write`
 /// </param>
 /// <param name='purpose'>
 /// A new, specialer purpose
 /// </param>
 /// <param name='channel'>
 /// Conversation to set the purpose of
 /// </param>
 public static SetPurposeOKResponseModel SetPurpose(this IConversations operations, string token = default(string), string purpose = default(string), string channel = default(string))
 {
     return(operations.SetPurposeAsync(token, purpose, channel).GetAwaiter().GetResult());
 }