mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
feat(Webhook): add channel getter (#9074)
* fix: add channel property * fix: missing new line
This commit is contained in:
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -2828,6 +2828,7 @@ export class Webhook extends WebhookMixin() {
|
||||
private constructor(client: Client, data?: RawWebhookData);
|
||||
public avatar: string;
|
||||
public avatarURL(options?: StaticImageURLOptions): string | null;
|
||||
public readonly channel: TextChannel | VoiceChannel | NewsChannel | ForumChannel | null;
|
||||
public channelId: Snowflake;
|
||||
public client: Client;
|
||||
public guildId: Snowflake;
|
||||
|
||||
Reference in New Issue
Block a user