Exemple #1
0
 /// <summary>
 /// Opens or resumes a direct message or multi-person direct message.
 /// <see href="https://api.slack.com/methods/conversations.open" />
 /// </summary>
 /// <param name='operations'>
 /// The operations group for this extension method.
 /// </param>
 /// <param name='token'>
 /// Authentication token. Requires scope: `conversations:write`
 /// </param>
 /// <param name='returnIm'>
 /// Boolean, indicates you want the full IM channel definition in the response.
 /// </param>
 /// <param name='users'>
 /// Comma separated lists of users. If only one user is included, this creates
 /// a 1:1 DM.  The ordering of the users is preserved whenever a multi-person
 /// direct message is returned. Supply a `channel` when not supplying `users`.
 /// </param>
 /// <param name='channel'>
 /// Resume a conversation by supplying an `im` or `mpim`'s ID. Or provide the
 /// `users` field instead.
 /// </param>
 public static OpenOKResponse Open(this IConversations operations, string token = default(string), bool?returnIm = default(bool?), string users = default(string), string channel = default(string))
 {
     return(operations.OpenAsync(token, returnIm, users, channel).GetAwaiter().GetResult());
 }