Skip to content

getChatRevenueStatistics

Function · TDLib 1.8.67 · d1085f9c

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

getChatRevenueStatistics(
  chat_id: int53,
  is_dark: Bool
) → ChatRevenueStatistics

chat_id

int53

Chat identifier

is_dark

Bool

Pass true if a dark theme is used by the application