Interface Reaction

Represents a room-level reaction.

interface Reaction {
    clientId: string;
    createdAt: Date;
    headers: Headers;
    isSelf: boolean;
    metadata: Metadata;
    type: string;
}

Properties

clientId: string

The clientId of the user who sent the reaction.

createdAt: Date

The timestamp at which the reaction was sent.

headers: Headers

Headers of the reaction. If no headers were set this is an empty object.

isSelf: boolean

Whether the reaction was sent by the current user.

metadata: Metadata

Metadata of the reaction. If no metadata was set this is an empty object.

type: string

The type of the reaction, for example "like" or "love".