Message class
Constructors
-
Message({required String id, required String channelId, String? guildId, required User author, Member? member, required String content, required String timestamp, String? editedTimestamp, required bool tts, required bool mentionEveryone, required List<
User> mentions, required List<Role> mentionRoles, List<ChannelMention> ? mentionChannels, required List<Attachment> attachments, required List<Embed> embeds, List<Reaction> ? reactions, String? nonce, required bool pinned, String? webhookId, required int type, MessageActivity? activity, MessageApplication? application, MessageReference? messageReference, int? flags, List<Sticker> ? stickers, Message? referencedMessage, MessageInteraction? interaction})
Properties
- activity → MessageActivity?
-
final
- application → MessageApplication?
-
final
-
attachments
→ List<
Attachment> -
final
-
final
- channelId → String
-
final
- content → String
-
final
- editedTimestamp → String?
-
final
-
embeds
→ List<
Embed> -
final
- flags → int?
-
final
- guildId → String?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- interaction → MessageInteraction?
-
final
- member → Member?
-
final
-
mentionChannels
→ List<
ChannelMention> ? -
final
- mentionEveryone → bool
-
final
-
mentionRoles
→ List<
Role> -
final
-
mentions
→ List<
User> -
final
- messageReference → MessageReference?
-
final
- nonce → String?
-
final
- pinned → bool
-
final
-
reactions
→ List<
Reaction> ? -
final
- referencedMessage → Message?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stickers
→ List<
Sticker> ? -
final
- timestamp → String
-
final
- tts → bool
-
final
- type → int
-
final
- webhookId → String?
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited