示例#1
0
 /// <summary>
 /// Send an embedded message
 /// </summary>
 /// <param name="embeddedMessage">The embedded message to send</param>
 public Task SendMessageAsync(EmbeddedMessage embeddedMessage)
 {
     return(SendMessageAsync(new SendMessage(embeddedMessage)));
 }
示例#2
0
 /// <summary>
 /// Send a EmbeddedMessage
 /// </summary>
 /// <param name="embeddedMessage"></param>
 public SendMessage(EmbeddedMessage embeddedMessage) : base(wrapper: null)
 {
     EmbeddedMessage = embeddedMessage ?? throw new ArgumentNullException(nameof(embeddedMessage));
 }