Skip to content

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.

optional attachments?: Collection<string, APIAttachment>

Defined in: types/interactions.ts:43

Map of attachment IDs to attachment objects


optional channels?: Collection<string, APIInteractionDataResolvedChannel>

Defined in: types/interactions.ts:41

Map of channel IDs to channel objects


optional members?: Collection<string, ResolvedSelectedGuildMember>

Defined in: types/interactions.ts:39

Map of user IDs to guild member objects


optional roles?: Collection<string, APIRole>

Defined in: types/interactions.ts:37

Map of role IDs to role objects


optional users?: Collection<string, APIUser>

Defined in: types/interactions.ts:35

Map of user IDs to user objects