ModalInteraction class Null safety

Inheritance

Constructors

ModalInteraction(Snowflake _id, Snowflake _applicationId, int _version, int _typeId, String _token, Snowflake? _userId, Snowflake? _guildId, Snowflake _customId, Snowflake _channelId)
ModalInteraction.from({required dynamic payload})
factory

Properties

applicationId Snowflake
read-only, inherited
channel TextChannel?
read-only
customId Snowflake
read-only
data Map<String, dynamic>
read / write
guild Guild?
read-only, inherited
hashCode int
The hash code for this object.
read-only, inherited
id Snowflake
read-only, inherited
member GuildMember?
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
token String
read-only, inherited
type InteractionType
read-only, inherited
user User
read-only, inherited
version int
read-only, inherited

Methods

getText(String customId) String?
Return an String if the modal has the designed field
Responds to this by an Modal
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
reply({String? content, List<EmbedBuilder>? embeds, List<RowBuilder>? components, bool? tts, bool? private}) Future<void>
Responds to this by an Message
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited