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.

Returns

string


content

get content(): string

The content of this message.

Returns

string


id

get id(): string

The id of this message.

Returns

string


meta

get meta(): any

Any metadata associated to this message.

Returns

any


publishedAt

get publishedAt(): Date

The date and time at which this message was published.

Returns

Date