MessageDeliveredEvent class final

The recipient's mail server accepted the message (message.delivered).

This does not guarantee that the message reached the inbox.

Inheritance

Constructors

MessageDeliveredEvent({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

Constants

eventType → const String
The value of type for this event.