Documentation - v0.27.0
    Preparing search index...
    • Send or remove a reaction.

      Parameters

      • client: ITelegramClient
      • params: InputMessageId & {
            big?: boolean;
            emoji?: MaybeArray<InputReaction> | null | undefined;
            shouldDispatch?: true;
        }
        • Optionalbig?: boolean

          Whether to use a big reaction

        • Optionalemoji?: MaybeArray<InputReaction> | null | undefined

          Reaction emoji (or null to remove reaction)

        • OptionalshouldDispatch?: true

          Whether to dispatch the returned edit message event to the client's update handler.

      Returns Promise<Message | null>

      Message to which the reaction was sent, if available. The message is normally available for users, but may not be available for bots in PMs.