SetChatPaidMessageStarCount constructor

const SetChatPaidMessageStarCount({
  1. required int chatId,
  2. required int paidMessageStarCount,
})

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

Implementation

const SetChatPaidMessageStarCount({
  required this.chatId,
  required this.paidMessageStarCount,
});