Message class final

Implemented types

Constructors

Message(MessageProperties<Channel> _properties)

Properties

authorId Snowflake?
no setteroverride
authorIsBot bool
no setteroverride
channelId Snowflake
no setteroverride
content String
no setteroverride
createdAt DateTime
no setteroverride
embeds List<MessageEmbed>
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
id Snowflake
no setteroverride
reactions → ReactionManger
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
serverId Snowflake
no setteroverride
updatedAt DateTime?
no setteroverride

Methods

createThread<T extends ThreadChannel>(ThreadChannelBuilder builder) Future<T>
Create a thread from the message.
crosspost() Future<void>
Crosspost the message.
delete() Future<void>
Delete the message.
edit(String? content, List<MessageEmbed>? embeds, List<MessageComponent>? components) Future<void>
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pin() Future<void>
Pin the message.
reply<T extends Message>({String? content, List<MessageEmbed>? embeds, List<MessageComponent>? components}) Future<T>
Reply to the original message.
override
resolveChannel<T extends Channel>() Future<T>
override
resolveMember({bool force = false}) Future<Member>
override
resolveServer({bool force = false}) Future<Server>
Resolve the server where the message was sent.
override
resolveUser({bool force = false}) Future<User>
override
toString() String
A string representation of this object.
inherited
unpin() Future<void>
Unpin the message.

Operators

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