ServerMessage class final
- Inheritance
-
- Object
- Message<
ServerChannel> - ServerMessage
Constructors
-
ServerMessage(MessageProperties<
ServerChannel> _properties, {required Member author})
Properties
-
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> -
delete(
) → Future< void> -
edit(
String? content, List< MessageEmbed> ? embeds, List<MessageComponent> ? components) → Future<void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pin(
) → Future< void> -
reply(
{String? content, List< MessageEmbed> ? embeds, List<MessageComponent> ? components}) → Future<void> -
toString(
) → String -
A string representation of this object.
inherited
-
unpin(
) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited