Documentation - v0.27.0
    Preparing search index...
    • Send a paid reaction using Telegram Stars.

      Parameters

      • client: ITelegramClient
      • params: InputMessageId & {
            anonymous?: boolean;
            asPeer?: InputPeerLike | undefined;
            count?: number;
            shouldDispatch?: true;
        }
        • Optionalanonymous?: boolean

          Whether to send the reaction anonymously

        • OptionalasPeer?: InputPeerLike | undefined

          Peer as which to send the reaction, mutually exclusive with anonymous

        • Optionalcount?: number

          Number of reactions to send

          1
          
        • OptionalshouldDispatch?: true

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

      Returns Promise<MessageReactions>

      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.