For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Log inSign up
Support
ReferenceGuidesClick-to-Call
ReferenceGuidesClick-to-Call
  • Core
    • Overview
  • SignalWire Client
    • Overview
    • Notifications
    • Client
    • Utility functions
  • Video
    • Overview
    • LocalOverlay
    • RoomSession
    • RoomSessionDevice
    • RoomSessionPlayback
    • RoomSessionRecording
    • RoomSessionScreenShare
    • RoomSessionStream
    • RoomDevice
    • RoomScreenShare
  • Chat
    • Overview
    • Client
    • ChatMember
    • ChatMemberEntity
    • ChatMessage
    • ChatMessageEntity
  • PubSub
    • Overview
    • Client
    • PubSubMessage
  • WebRTC
    • Overview
LogoLogoSignalWire Docs
Log inSign up
Support
On this page
  • Properties
  • channel
  • content
  • id
  • meta
  • publishedAt
PubSub

PubSubMessage

|View as Markdown|Open in Claude|
Was this page helpful?
Edit this page
Previous

WebRTC

Next
Built with

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