コード例 #1
0
 /// <summary>
 /// Gets information about a channel.
 /// <see href="https://api.slack.com/methods/channels.info" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='token'>
 /// Authentication token. Requires scope: `channels:read`
 /// </param>
 /// <param name='includeLocale'>
 /// Set this to `true` to receive the locale for this channel. Defaults to
 /// `false`
 /// </param>
 /// <param name='channel'>
 /// Channel to get info on
 /// </param>
 public static InfoOKResponseModelModel Info(this IChannels operations, string token = default(string), bool?includeLocale = default(bool?), string channel = default(string))
 {
     return(operations.InfoAsync(token, includeLocale, channel).GetAwaiter().GetResult());
 }