MessageDeleteEvent class
Emitted when a message is deleted.
- Inheritance
-
- Object
- GatewayEvent
- DispatchEvent
- MessageDeleteEvent
Properties
- channel → PartialTextChannel
-
The channel the message was deleted in.
no setter
- channelId → Snowflake
-
The ID of the channel the message was deleted in.
final
- deletedMessage → Message?
-
The message as it was cached before being deleted.
final
- gateway → Gateway
-
The gateway that handled this event.
finalinherited
- guild → PartialGuild?
-
The guild the message was deleted in.
no setter
- guildId → Snowflake?
-
The ID of the guild the message was deleted in.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → Snowflake
-
The ID of the deleted message.
final
- opcode → Opcode
-
The opcode of this event.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
defaultToString(
) → String -
Same as toString, but only called when dart:mirrors is not available.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited