Пример #1
0
 /// <summary>
 ///     Gets a webhook available in this text channel.
 /// </summary>
 /// <param name="id">The identifier of the webhook.</param>
 /// <param name="options">The options to be used when sending the request.</param>
 /// <returns>
 ///     A task that represents the asynchronous get operation. The task result contains a webhook associated
 ///     with the identifier; <c>null</c> if the webhook is not found.
 /// </returns>
 public Task <RestWebhook> GetWebhookAsync(ulong id, RequestOptions options = null)
 => ChannelHelper.GetWebhookAsync(this, Discord, id, options);