haskell-tdlib-2.0.58.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")

  • _type :: Maybe PaidReactionType

    Type of the paid reaction; pass null if the user didn't choose reaction type explicitly, for example, the reaction is set from the message bubble