View Source Nostrum.Struct.ApplicationCommandInteractionDataResolved (Nostrum v0.10.0)
Converted interaction payload.
Summary
Types
Attachments sent along with the interaction.
IDs and corresponding partial channels.
IDs and corresponding partial members.
The IDs and corresponding messages.
IDs and corresponding roles
Resolved interaction data
IDs and corresponding users
Types
@type attachments() :: %{ required(Nostrum.Struct.Message.Attachment.id()) => Nostrum.Struct.Message.Attachment.t() } | nil
Attachments sent along with the interaction.
@type channels() :: %{ required(Nostrum.Struct.Channel.id()) => Nostrum.Struct.Channel.guild_text_channel() } | nil
IDs and corresponding partial channels.
The channels in this map only have the following keys set:
id
name
type
permissions
@type members() :: %{required(Nostrum.Struct.User.id()) => Nostrum.Struct.Guild.Member.t()} | nil
IDs and corresponding partial members.
These members are missing values on the following fields:
user
deaf
mute
The corresponding user data can be looked up in users
. For members that
are part of this map, data for the corresponding user will always be included.
@type messages() :: %{required(Nostrum.Struct.Message.id()) => Nostrum.Struct.Message.t()} | nil
The IDs and corresponding messages.
@type roles() :: %{required(Nostrum.Struct.Guild.Role.id()) => Nostrum.Struct.Guild.Role.t()} | nil
IDs and corresponding roles
@type t() :: %Nostrum.Struct.ApplicationCommandInteractionDataResolved{ attachments: attachments(), channels: channels(), members: members(), messages: messages(), roles: roles(), users: users() }
Resolved interaction data
@type users() :: %{required(Nostrum.Struct.User.id()) => Nostrum.Struct.User.t()} | nil
IDs and corresponding users