Interface ApplicationCommandOptionsAttachment

interface ApplicationCommandOptionsAttachment {
    description: string;
    descriptionLocalizations?: Partial<Record<Locale, string>>;
    descriptionLocalized?: string;
    name: string;
    nameLocalizations?: Partial<Record<Locale, string>>;
    nameLocalized?: string;
    required?: boolean;
    type: ATTACHMENT;
}

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