@ably/chat - v1.1.1
    Preparing search index...

    Interface SendMessageReactionParams

    Parameters for sending a message reaction.

    interface SendMessageReactionParams {
        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 send; (e.g., emoji like "👍", "❤️", or custom names)

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