@ably/chat - v0.10.0
    Preparing search index...

    Interface MessageReactionRawEvent

    Represents an individual message reaction event.

    interface MessageReactionRawEvent {
        reaction: {
            clientId: string;
            count?: number;
            messageSerial: string;
            name: string;
            type: MessageReactionType;
        };
        timestamp: Date;
        type: Create
        | Delete;
    }
    Index

    Properties

    reaction: {
        clientId: string;
        count?: number;
        messageSerial: string;
        name: string;
        type: MessageReactionType;
    }

    The message reaction that was received.

    Type declaration

    • clientId: string

      The client ID of the user who added/removed the reaction

    • Optionalcount?: number

      Count of the reaction (only for type Multiple, if set)

    • messageSerial: string

      Serial of the message this reaction is for

    • name: string

      The reaction name (typically an emoji)

    • type: MessageReactionType

      Type of reaction

    timestamp: Date

    The timestamp of this event

    type: Create | Delete

    Whether reaction was added or removed