setChatPaidMessageStarCount¶
Changes the Telegram Star amount that must be paid to send a message to a supergroup chat; requires can_restrict_members administrator right and supergroupFullInfo.can_enable_paid_messages
setChatPaidMessageStarCount(
chat_id: int53,
paid_message_star_count: int53
) → Ok
chat_id¶
int53
Identifier of the supergroup chat
paid_message_star_count¶
int53
The new number of Telegram Stars that must be paid for each message that is sent to the supergroup chat unless the sender is an administrator of the chat; 0-getOption("paid_message_star_count_max"). The supergroup will receive getOption("paid_message_earnings_per_mille") Telegram Stars for each 1000 Telegram Stars paid for message sending