Protected Optional__reply
applicationId
applicationId: string
appPermissions
appPermissions: PermissionsBitField
attachmentSizeLimit
attachmentSizeLimit: number
authorizingIntegrationOwners
authorizingIntegrationOwners: { "0"?: string; "1"?: string }
Optionalcontext
context?: InteractionContextType
data
data: {
components: {
component: {
customId: string;
type: ComponentType;
value?: string;
values?: string[];
};
type: ActionRow;
}[];
customId: string;
resolved?: {
attachments: {
[key: Lowercase<string>]: {
contentType?: string;
description?: string;
ephemeral?: boolean;
filename: string;
flags?: AttachmentFlags;
height?: number | null;
id: string;
proxyUrl: string;
size: number;
title?: string;
url: string;
width?: number | null;
};
};
};
}
Optionalguild
guild?: { features: GuildFeature[]; id: string; locale: Locale }
OptionalguildId
guildId?: string
OptionalguildLocale
guildLocale?:
| "id"
| "en-US"
| "en-GB"
| "bg"
| "zh-CN"
| "zh-TW"
| "hr"
| "cs"
| "da"
| "nl"
| "fi"
| "fr"
| "de"
| "el"
| "hi"
| "hu"
| "it"
| "ja"
| "ko"
| "lt"
| "no"
| "pl"
| "pt-BR"
| "ro"
| "ru"
| "es-ES"
| "es-419"
| "sv-SE"
| "th"
| "tr"
| "uk"
| "vi"
locale
locale:
| "id"
| "en-US"
| "en-GB"
| "bg"
| "zh-CN"
| "zh-TW"
| "hr"
| "cs"
| "da"
| "nl"
| "fi"
| "fr"
| "de"
| "el"
| "hi"
| "hu"
| "it"
| "ja"
| "ko"
| "lt"
| "no"
| "pl"
| "pt-BR"
| "ro"
| "ru"
| "es-ES"
| "es-419"
| "sv-SE"
| "th"
| "tr"
| "uk"
| "vi"
Optionalreplied
replied?:
| boolean
| Promise<boolean | RESTPostAPIInteractionCallbackResult | undefined>
createdAt gets the creation Date instace of the current object.