add_pending_paid_message_reaction


Description:

public async Ok add_pending_paid_message_reaction (int64 chat_id, int64 message_id, int64 star_count, PaidReactionType type_) throws TDLibError

Adds the paid message reaction to a message. Use Client.get_message_available_reactions to check whether the reaction is available for the message

Parameters:

chat_id

Identifier of the chat to which the message belongs

message_id

Identifier of the message

star_count

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_

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