PendingMessage

@Immutable
data class PendingMessage(val message: Message, val metadata: Map<String, String>)

Represents a message that is pending delivery or processing.

Constructors

Link copied to clipboard
constructor(message: Message, metadata: Map<String, String>)

Types

Link copied to clipboard
class Builder

Builder class for constructing a PendingMessage instance.

Properties

Link copied to clipboard

The Message object containing all the content and attributes of the message.

Link copied to clipboard

Additional metadata associated with this pending message, stored as key-value pairs.

Functions

Link copied to clipboard

Creates a new Builder instance with properties initialized from this PendingMessage.