Message class Null safety

Mixed in types

Constructors

Message(Snowflake _id, String _content, bool _tts, List<EmbedBuilder> _embeds, bool _allowMentions, PartialMessage<PartialChannel>? _reference, List<ComponentBuilder> _components, List<MessageStickerItem> _stickers, dynamic _payload, List<MessageAttachment> _attachments, int? _flags, bool _pinned, Snowflake? _guildId, Snowflake _channelId, MessageReactionManager<PartialChannel, PartialMessage<PartialChannel>> _reactions, Snowflake _authorId, MessageMention _mentions)
Message.from({required GuildChannel channel, required dynamic payload})
factory

Properties

allowMentions bool
read-only, inherited
attachments List<MessageAttachment>
read-only, inherited
author GuildMember?
read-only
channel GuildChannel
read-only
components List<ComponentBuilder>
read-only, inherited
container Ioc
Service manager including the core components of the Mineral framework
read-only, inherited
content String?
read-only, inherited
embeds List<EmbedBuilder>
read-only, inherited
flags int?
read-only, inherited
hashCode int
The hash code for this object.
read-only, inherited
id Snowflake
read-only, inherited
isPinned bool
read-only, inherited
mentions → MessageMention
read-only
payload → dynamic
read-only, inherited
reactions → MessageReactionManager<PartialChannel, PartialMessage<PartialChannel>>
read-only, inherited
reference → PartialMessage<PartialChannel>?
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
stickers List<MessageStickerItem>
read-only, inherited
tts bool
read-only, inherited

Methods

crossPost() Future<void>
edit({String? content, List<EmbedBuilder>? embeds, List<RowBuilder>? components, bool? tts}) Future<Message?>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
pin(Snowflake webhookId) Future<void>
reply({String? content, List<EmbedBuilder>? embeds, List<RowBuilder>? components, bool? tts}) Future<PartialMessage<PartialChannel>?>
toString() String
A string representation of this object.
inherited
unpin() Future<void>

Operators

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