MessageSuppressedEvent class final
The message was not sent because the recipient is suppressed
(message.suppressed).
- Inheritance
-
- Object
- WebhookEvent
- MessageWebhookEvent
- MessageSuppressedEvent
Constructors
- MessageSuppressedEvent({required DateTime timestamp, required String webhookId, required MessageEventData data, JsonMap raw = const {}})
-
Creates the event.
const
Properties
- data → MessageEventData
-
The message data of the event.
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- raw → JsonMap
-
The JSON payload this event was decoded from.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timestamp → DateTime
-
When the event occurred.
finalinherited
- type → String
-
The event type, for example
message.delivered.finalinherited - webhookId → String
-
The ID of the webhook this event was sent to.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → JsonMap -
Encodes this event as JSON.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited