UpdateChatRevenueAmount constructor

const UpdateChatRevenueAmount({
  1. required int chatId,
  2. required ChatRevenueAmount revenueAmount,
  3. dynamic extra,
  4. int? clientId,
})

The revenue earned from sponsored messages in a chat has changed. If chat revenue screen is opened, then getChatRevenueTransactions may be called to fetch new transactions

Implementation

const UpdateChatRevenueAmount({
  required this.chatId,
  required this.revenueAmount,
  this.extra,
  this.clientId,
});