haskell-tdlib-2.0.47.0
Safe HaskellSafe-Inferred
LanguageGHC2021

TD.Query.AddPendingPaidMessageReaction

Synopsis

Documentation

data AddPendingPaidMessageReaction Source #

Adds the paid message reaction to a message. Use getMessageAvailableReactions to check whether the reaction is available for the message. Returns Ok

Constructors

AddPendingPaidMessageReaction 

Fields

  • chat_id :: Maybe Int

    Identifier of the chat to which the message belongs

  • message_id :: Maybe Int

    Identifier of the message

  • star_count :: Maybe Int

    Number of Telegram Stars to be used for the reaction. The total number of pending paid reactions must not exceed getOption("paid_reaction_star_count_max")

  • use_default_is_anonymous :: Maybe Bool

    Pass true if the user didn't choose anonymity explicitly, for example, the reaction is set from the message bubble

  • is_anonymous :: Maybe Bool

    Pass true to make paid reaction of the user on the message anonymous; pass false to make the user's profile visible among top reactors. Ignored if use_default_is_anonymous == true