APIInteractionDataResolvedCollections
Interface: APIInteractionDataResolvedCollections
Section titled “Interface: APIInteractionDataResolvedCollections”Defined in: types/interactions.ts:33
Collections of resolved data from Discord API interactions.
When users or roles are mentioned in command options, Discord resolves them and provides the full data in these collections for easy access.
Properties
Section titled “Properties”attachments?
Section titled “attachments?”
optionalattachments?:Collection<string,APIAttachment>
Defined in: types/interactions.ts:43
Map of attachment IDs to attachment objects
channels?
Section titled “channels?”
optionalchannels?:Collection<string,APIInteractionDataResolvedChannel>
Defined in: types/interactions.ts:41
Map of channel IDs to channel objects
members?
Section titled “members?”
optionalmembers?:Collection<string,ResolvedSelectedGuildMember>
Defined in: types/interactions.ts:39
Map of user IDs to guild member objects
roles?
Section titled “roles?”
optionalroles?:Collection<string,APIRole>
Defined in: types/interactions.ts:37
Map of role IDs to role objects
users?
Section titled “users?”
optionalusers?:Collection<string,APIUser>
Defined in: types/interactions.ts:35
Map of user IDs to user objects
