示例#1
0
 /// <summary>
 /// Sends an ephemeral message to a user in a channel.
 /// </summary>
 public Task <SendEphemeralMessageResponse> PostEphemeralAsync(EphemeralMessage ephemeralMessage)
 => SendPostJsonStringAsync <EphemeralMessage, SendEphemeralMessageResponse>("postEphemeral", ephemeralMessage);
示例#2
0
 /// <inheritdoc cref="ChatClient.PostEphemeralAsync(EphemeralMessage)"/>
 public Task <SendEphemeralMessageResponse> SendEphemeralMessageAsync(EphemeralMessage ephemeralMessage)
 => Chat.PostEphemeralAsync(ephemeralMessage);