Class RestWebhook
Assembly: Discord.Net.Rest.dll
Syntax
public class RestWebhook : RestEntity<ulong>, IEntity<ulong>, IWebhook, IDeletable, ISnowflakeEntity, IEntity<ulong>, IUpdateable
Properties
|
Improve this Doc
View Source
ApplicationId
Declaration
public ulong? ApplicationId { get; }
Property Value
|
Improve this Doc
View Source
AvatarId
Declaration
public string AvatarId { get; }
Property Value
|
Improve this Doc
View Source
ChannelId
Declaration
public ulong? ChannelId { get; }
Property Value
|
Improve this Doc
View Source
CreatedAt
Declaration
public DateTimeOffset CreatedAt { get; }
Property Value
Type |
Description |
DateTimeOffset |
|
|
Improve this Doc
View Source
Creator
Gets the user that created this webhook.
Declaration
public IUser Creator { get; }
Property Value
|
Improve this Doc
View Source
FollowedChannelId
Declaration
public ulong? FollowedChannelId { get; }
Property Value
|
Improve this Doc
View Source
FollowedChannelName
Declaration
public string FollowedChannelName { get; }
Property Value
|
Improve this Doc
View Source
GuildId
Declaration
public ulong? GuildId { get; }
Property Value
|
Improve this Doc
View Source
Name
Declaration
public string Name { get; }
Property Value
|
Improve this Doc
View Source
PartialGuild
Declaration
public PartialGuild PartialGuild { get; }
Property Value
|
Improve this Doc
View Source
Token
Declaration
public string Token { get; }
Property Value
|
Improve this Doc
View Source
Type
Gets the type of this webhook.
Declaration
public WebhookType Type { get; }
Property Value
Methods
|
Improve this Doc
View Source
DeleteAsync(RequestOptions)
Declaration
public Task DeleteAsync(RequestOptions options = null)
Parameters
Returns
|
Improve this Doc
View Source
Declaration
public string GetAvatarUrl(ImageFormat format = ImageFormat.Auto, ushort size = null)
Parameters
Returns
|
Improve this Doc
View Source
ModifyAsync(Action<WebhookProperties>, RequestOptions)
Declaration
public async Task ModifyAsync(Action<WebhookProperties> func, RequestOptions options = null)
Parameters
Returns
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
|
Improve this Doc
View Source
UpdateAsync(RequestOptions)
Declaration
public async Task UpdateAsync(RequestOptions options = null)
Parameters
Returns
Explicit Interface Implementations
|
Improve this Doc
View Source
IWebhook.Channel
Gets the channel for this webhook.
Declaration
IIntegrationChannel IWebhook.Channel { get; }
Returns
|
Improve this Doc
View Source
IWebhook.Guild
Gets the guild owning this webhook.
Declaration
IGuild IWebhook.Guild { get; }
Returns
Implements