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

    Interface AddMessageReactionParams

    Parameters for adding a message reaction.

    interface AddMessageReactionParams {
        count?: number;
        name: string;
        type?: MessageReactionType;
    }
    Index

    Properties

    Properties

    count?: number

    The count of the reaction for type MessageReactionType.Multiple. Defaults to 1 if not set. Not supported for other reaction types.

    1
    
    name: string

    The reaction name to add; ie. the emoji.

    The type of reaction, must be one of MessageReactionType. If not set, the default type will be used which is configured in the MessageOptions.defaultMessageReactionType of the room.