The raw message details from the API response.
The ID of the conversation this message belongs to.
The timestamp when the message was sent (ISO 8601 format).
OptionaleditNumber of times the message has been edited.
The unique identifier of the message.
OptionalmediaArray of media URLs attached to the message.
OptionalreadWhether the message has been read.
OptionalrecipientThe ID of the user who received the message (for one-to-one conversations).
The ID of the user who sent the message.
The text content of the message.
The raw message details.
Get the age of this message in milliseconds
Check if this message has media attachments
Check if this message is from a specific sender
A serializable JSON representation of this object.
Check if this message was edited
StaticfilterFilter messages by conversation ID
StaticfilterFilter messages by sender ID
StaticlistExtracts and deserializes the list of direct messages from the given raw response data.
The raw response data.
The deserialized list of direct messages.
StaticlistGeneric method to extract messages from any supported response type
StaticsortSort messages by creation time (oldest to newest)
The details of a single direct message.