ServerMessage class final

Inheritance

Constructors

ServerMessage(MessageProperties<ServerChannel> _properties, {required Member author})

Properties

author Member
final
channel ServerChannel
latefinaloverride
channelId Snowflake
no setteroverride
content String
no setteroverride
createdAt DateTime
no setter
embeds List<MessageEmbed>
no setter
hashCode int
The hash code for this object.
no setterinherited
id Snowflake
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updatedAt DateTime?
no setter

Methods

crosspost() Future<void>
Crosspost the message.
delete() Future<void>
Delete the message.
edit(String? content, List<MessageEmbed>? embeds, List<MessageComponent>? components) Future<void>
Edit the message.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
pin() Future<void>
Pin the message.
reply({String? content, List<MessageEmbed>? embeds, List<MessageComponent>? components}) Future<void>
Reply to the original message.
toString() String
A string representation of this object.
inherited
unpin() Future<void>
Unpin the message.

Operators

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