Javascript API Reference
    Preparing search index...

    Class message

    Index

    Constructors

    Properties

    id: string

    Unique identifier for the message.

    message: string

    The message content.

    payload?: object

    Optional additional data sent along with the message.

    senderId: string

    The ID of the participant who sent the message.

    senderName: string

    The display name of the participant who sent the message.

    timestamp: string

    Timestamp indicating when the message was published.

    topic: string

    The topic under which the message was published.