DiscordMessageReference class
Constructors
- DiscordMessageReference({DiscordSnowflake? messageId, DiscordSnowflake? channelId, DiscordSnowflake? guildId, bool? failIfNotExists})
-
DiscordMessageReference.fromJson(Map<
String, dynamic> json) -
factory
Properties
- channelId → DiscordSnowflake?
-
id of the originating message's channel
final
- failIfNotExists → bool?
-
when sending, whether to error if the referenced message
doesn't exist instead of sending as a normal (non-reply)
message, default true
final
- guildId → DiscordSnowflake?
-
id of the originating message's guild
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageId → DiscordSnowflake?
-
id of the originating message
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- channelIdEntry → const String
- failIfNotExistsEntry → const String
- guildIdEntry → const String
- messageIdEntry → const String