PluralKit/Myriad/Types/Webhook.cs

20 lines
486 B
C#
Raw Normal View History

namespace Myriad.Types;
public record Webhook
2020-12-22 12:15:26 +00:00
{
public ulong Id { get; init; }
public WebhookType Type { get; init; }
public ulong? GuildId { get; init; }
public ulong ChannelId { get; init; }
public User? User { get; init; }
public string? Name { get; init; }
public string? Avatar { get; init; }
public string? Token { get; init; }
public ulong? ApplicationId { get; init; }
}
2020-12-22 12:15:26 +00:00
public enum WebhookType
{
Incoming = 1,
ChannelFollower = 2
2020-12-22 12:15:26 +00:00
}