コード例 #1
0
 /// <summary>
 /// Sends a message to a channel.
 /// </summary>
 public Task <SendMessageResponse> PostMessageAsync(SlackMessage slackMessage)
 => SendPostJsonStringAsync <SlackMessage, SendMessageResponse>("postMessage", slackMessage);
コード例 #2
0
ファイル: SlackClient.cs プロジェクト: Fuse8/SlackBot.Api
 /// <inheritdoc cref="ChatClient.PostMessageAsync(SlackMessage)"/>
 public Task <SendMessageResponse> SendMessageAsync(SlackMessage slackMessage)
 => Chat.PostMessageAsync(slackMessage);