Пример #1
0
 /// <summary>
 /// Retrieve a thread of messages posted to a conversation
 /// <see href="https://api.slack.com/methods/conversations.replies" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='inclusive'>
 /// Include messages with latest or oldest timestamp in results only when
 /// either timestamp is specified.
 /// </param>
 /// <param name='ts'>
 /// Unique identifier of a thread's parent message.
 /// </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:history`
 /// </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='oldest'>
 /// Start of time range of messages to include in results.
 /// </param>
 /// <param name='channel'>
 /// Conversation ID to fetch thread from.
 /// </param>
 /// <param name='latest'>
 /// End of time range of messages to include in results.
 /// </param>
 /// <param name='cancellationToken'>
 /// The cancellation token.
 /// </param>
 public static async Task <RepliesOKResponseModel> RepliesAsync(this IConversations operations, bool?inclusive = default(bool?), string ts = default(string), string cursor = default(string), string token = default(string), int?limit = default(int?), string oldest = default(string), string channel = default(string), string latest = default(string), CancellationToken cancellationToken = default(CancellationToken))
 {
     using (var _result = await operations.RepliesWithHttpMessagesAsync(inclusive, ts, cursor, token, limit, oldest, channel, latest, null, cancellationToken).ConfigureAwait(false))
     {
         return(_result.Body);
     }
 }