GetChatRevenueStatistics constructor

const GetChatRevenueStatistics({
  1. required int chatId,
  2. required bool isDark,
})

Returns detailed revenue statistics about a chat. Currently, this method can be used only for channels if supergroupFullInfo.can_get_revenue_statistics == true or bots if userFullInfo.bot_info.can_get_revenue_statistics == true

Implementation

const GetChatRevenueStatistics({required this.chatId, required this.isDark});