PubSubMessage
Represents a message in a PubSub context.
Properties
channel
The channel in which this message was sent.
Syntax: PubSubMessage.channel()
Returns: string
content
The content of this message.
Syntax: PubSubMessage.content()
Returns: string
id
The id of this message.
Syntax: PubSubMessage.id()
Returns: string
meta
Any metadata associated to this message.
Syntax: PubSubMessage.meta()
Returns: any
publishedAt
The date and time at which this message was published.
Syntax: PubSubMessage.publishedAt()
Returns: Date