MessageReference class
Message Reference structure
- Annotations
-
- @JsonSerializable(includeIfNull: false)
Constructors
- MessageReference({String? messageId, String? channelId, String? guildId, bool? failIfNotExists})
- Constructor
-
MessageReference.fromJson(Map<
String, dynamic> json) -
From json
factory
Properties
- channelId → String?
-
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 → String?
-
id of the originating message's guild
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageId → String?
-
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
-
toJson(
) → Map< String, dynamic> - To json
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited