/// <summary> Sends a message to the channel for this webhook. </summary>
 /// <returns> Returns the ID of the created message. </returns>
 public Task <ulong> SendMessageAsync(string text     = null, bool isTTS       = false, IEnumerable <Embed> embeds = null,
                                      string username = null, string avatarUrl = null, RequestOptions options      = null, AllowedMentions allowedMentions = null)
 => WebhookClientHelper.SendMessageAsync(this, text, isTTS, embeds, username, avatarUrl, allowedMentions, options);
Exemple #2
0
 /// <summary> Sends a message to the channel for this webhook. </summary>
 /// <returns> Returns the ID of the created message. </returns>
 public Task <ulong> SendMessageAsync(string text                 = null, bool isTTS       = false, IEnumerable <Embed> embeds = null,
                                      string username             = null, string avatarUrl = null, RequestOptions options      = null, AllowedMentions allowedMentions = null,
                                      MessageComponent components = null, MessageFlags flags = MessageFlags.None, ulong?threadId = null)
 => WebhookClientHelper.SendMessageAsync(this, text, isTTS, embeds, username, avatarUrl, allowedMentions, options, components, flags, threadId);