MessageCreateEvent class

Emitted when a message is sent.

Inheritance

Properties

gateway Gateway
The gateway that handled this event.
finalinherited
guild PartialGuild?
The guild the message was sent in.
no setter
guildId Snowflake?
The ID of the guild the message was sent in.
final
hashCode int
The hash code for this object.
no setterinherited
member PartialMember?
The member that sent the message.
final
mentions List<User>
A list of users explicitly mentioned in the message.
final
message Message
The message that was sent.
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