Interface IWebhook
Represents a webhook object on Discord.
Assembly: Discord.Net.Core.dll
Syntax
public interface IWebhook : IDeletable, ISnowflakeEntity, IEntity<ulong>
Properties
|
Improve this Doc
View Source
ApplicationId
Gets the ID of the application owning this webhook.
Declaration
ulong? ApplicationId { get; }
Property Value
|
Improve this Doc
View Source
AvatarId
Gets the ID of this webhook's default avatar.
Declaration
Property Value
|
Improve this Doc
View Source
Channel
Gets the channel for this webhook.
Declaration
IIntegrationChannel Channel { get; }
Property Value
|
Improve this Doc
View Source
ChannelId
Gets the ID of the channel for this webhook; null for Application webhooks.
Declaration
ulong? ChannelId { get; }
Property Value
|
Improve this Doc
View Source
Creator
Gets the user that created this webhook.
Declaration
Property Value
|
Improve this Doc
View Source
Guild
Gets the guild owning this webhook.
Declaration
Property Value
|
Improve this Doc
View Source
GuildId
Gets the ID of the guild owning this webhook.
Declaration
Property Value
|
Improve this Doc
View Source
Name
Gets the default name of this webhook.
Declaration
Property Value
|
Improve this Doc
View Source
Token
Declaration
Property Value
|
Improve this Doc
View Source
Type
Gets the type of this webhook.
Declaration
WebhookType Type { get; }
Property Value
Methods
|
Improve this Doc
View Source
Gets the URL to this webhook's default avatar.
Declaration
string GetAvatarUrl(ImageFormat format = ImageFormat.Auto, ushort size = null)
Parameters
Returns
|
Improve this Doc
View Source
ModifyAsync(Action<WebhookProperties>, RequestOptions)
Declaration
Task ModifyAsync(Action<WebhookProperties> func, RequestOptions options = null)
Parameters
Returns