Webhook constructor
Webhook({
- required Snowflake id,
- required WebhookType type,
- required Snowflake? guildId,
- required Snowflake? channelId,
- required String? label,
- required String? avatar,
- required String token,
- required Snowflake? applicationId,
- required dynamic sourceGuild,
- required dynamic sourceChannel,
- required String? url,
Implementation
Webhook({
required this.id,
required this.type,
required this.guildId,
required this.channelId,
required this.label,
required this.avatar,
required this.token,
required this.applicationId,
required this.sourceGuild,
required this.sourceChannel,
required this.url,
});