zibri
    Preparing search index...

    The data required to create a new websocket message.

    Hierarchy

    Index

    Constructors

    Properties

    data: unknown

    The actual data of the message.

    error: HttpError | undefined

    An error that was caused.

    The event to send to.

    ok: boolean

    Whether or not the message is ok.

    recipientId: string | undefined

    The id of either the channel or the user that this message was sent to. Can be empty when the message was sent to all or to a non user connection.

    recipientType: WebsocketRecipientType

    The type of recipient. Can be "USER", "CHANNEL", "ALL".

    senderConnectionId: string | undefined

    The of the connection that has sent the message.

    senderUserId: string | undefined

    The id of the user that has sent the message.

    status: HttpStatus

    The http status code.