Protected Optional__reply
applicationId
applicationId: string
appPermissions
appPermissions: PermissionsBitField
attachmentSizeLimit
attachmentSizeLimit: number
authorizingIntegrationOwners
authorizingIntegrationOwners: { "0"?: string; "1"?: string }
Optionalcontext
context?: InteractionContextType
data
data: {
guildId?: string;
id: string;
name: string;
resolved: {
members?: {
[key: Lowercase<string>]: {
avatar?: string | null;
avatarDecorationData?: { asset: string; skuId: string } | null;
banner: string | null;
communicationDisabledUntil?: string | null;
flags: GuildMemberFlags;
joinedAt: string;
nick?: string | null;
pending?: boolean;
permissions: string;
premiumSince?: string | null;
roles: string[];
};
};
users: {
[key: Lowercase<string>]: {
accentColor?: number | null;
avatar: string | null;
avatarDecorationData?: { asset: string; skuId: string } | null;
banner?: string | null;
bot?: boolean;
discriminator: string;
email?: string | null;
flags?: UserFlags;
globalName: string | null;
id: string;
locale?: string;
mfaEnabled?: boolean;
premiumType?: UserPremiumType;
primaryGuild?: {
badge: string | null;
identityEnabled: boolean | null;
identityGuildId: string | null;
tag: string | null;
};
publicFlags?: UserFlags;
system?: boolean;
username: string;
verified?: boolean;
};
};
};
targetId: string;
type: User;
}
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.