Пример #1
0
 /// <summary>
 /// Retrieve members of a conversation.
 /// <see href="https://api.slack.com/methods/conversations.members" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='cursor'>
 /// Paginate through collections of data by setting the `cursor` parameter to a
 /// `next_cursor` attribute returned by a previous request's
 /// `response_metadata`. Default value fetches the first "page" of the
 /// collection. See [pagination](/docs/pagination) for more detail.
 /// </param>
 /// <param name='token'>
 /// Authentication token. Requires scope: `conversations:read`
 /// </param>
 /// <param name='limit'>
 /// The maximum number of items to return. Fewer than the requested number of
 /// items may be returned, even if the end of the users list hasn't been
 /// reached.
 /// </param>
 /// <param name='channel'>
 /// ID of the conversation to retrieve members for
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <MembersOKResponse> MembersAsync(this IConversations operations, string cursor = default(string), string token = default(string), int?limit = default(int?), string channel = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.MembersWithHttpMessagesAsync(cursor, token, limit, channel, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }