Esempio n. 1
0
 /// <summary>
 /// Fetches history of messages and events from direct message channel.
 /// <see href="https://api.slack.com/methods/im.history" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='count'>
 /// Number of messages to return, between 1 and 1000.
 /// </param>
 /// <param name='unreads'>
 /// Include `unread_count_display` in the output?
 /// </param>
 /// <param name='inclusive'>
 /// Include messages with latest or oldest timestamp in results.
 /// </param>
 /// <param name='token'>
 /// Authentication token. Requires scope: `im:history`
 /// </param>
 /// <param name='oldest'>
 /// Start of time range of messages to include in results.
 /// </param>
 /// <param name='channel'>
 /// Direct message channel to fetch history for.
 /// </param>
 /// <param name='latest'>
 /// End of time range of messages to include in results.
 /// </param>
 public static HistoryOKResponseModelModelModel History(this IIm operations, int?count = default(int?), bool?unreads = default(bool?), bool?inclusive = default(bool?), string token = default(string), string oldest = default(string), string channel = default(string), string latest = default(string))
 {
     return(operations.HistoryAsync(count, unreads, inclusive, token, oldest, channel, latest).GetAwaiter().GetResult());
 }