Interface ApplicationCommandOptionsChannel

interface ApplicationCommandOptionsChannel {
    channelTypes?: (GUILD_TEXT | DM | GUILD_VOICE | GROUP_DM | GUILD_CATEGORY | GUILD_ANNOUNCEMENT | ANNOUNCEMENT_THREAD | PUBLIC_THREAD | PRIVATE_THREAD | GUILD_STAGE_VOICE | GUILD_FORUM | GUILD_MEDIA)[];
    description: string;
    descriptionLocalizations?: Partial<Record<Locale, string>>;
    descriptionLocalized?: string;
    name: string;
    nameLocalizations?: Partial<Record<Locale, string>>;
    nameLocalized?: string;
    required?: boolean;
    type: CHANNEL;
}

Hierarchy (view full)

Properties

description: string
descriptionLocalizations?: Partial<Record<Locale, string>>
descriptionLocalized?: string

The description of this application command in the requested locale. This cannot be sent.

name: string
nameLocalizations?: Partial<Record<Locale, string>>
nameLocalized?: string

The description of this application command in the requested locale. This cannot be sent.

required?: boolean
type: CHANNEL