Example #1
0
 /// <summary>
 /// Retrieve information about a conversation.
 /// <see href="https://api.slack.com/methods/conversations.info" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='token'>
 /// Authentication token. Requires scope: `conversations:read`
 /// </param>
 /// <param name='channel'>
 /// Conversation ID to learn more about
 /// </param>
 /// <param name='includeLocale'>
 /// Set this to `true` to receive the locale for this conversation. Defaults to
 /// `false`
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <InfoOKResponseModelModelModel> InfoAsync(this IConversations operations, string token = default(string), string channel = default(string), bool?includeLocale = default(bool?), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.InfoWithHttpMessagesAsync(token, channel, includeLocale, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }