Reaction API object

Hierarchy

Constructors

Properties

Methods

Constructors

  • Create a Reaction object for the API

    Parameters

    • message_id: string

      The message's id (wamid) to react to

    • emoji: string = ""

      The emoji to react with, defaults to empty string to remove a reaction

    Returns Reaction

    Throws

    If a non-emoji or more than one emoji is provided

Properties

emoji: string

The reaction emoji

message_id: string

The message's id to react to

Methods

Generated using TypeDoc