Skip to main content

PubSubMessage

Represents a message in a PubSub context.

Accessors

channel

get channel(): string

The channel in which this message was sent.


content

get content(): string

The content of this message.


id

get id(): string

The id of this message.


meta

get meta(): any

Any metadata associated to this message.


publishedAt

get publishedAt(): Date

The date and time at which this message was published.