get_chat_revenue_statistics

Function get_chat_revenue_statistics 

Source
pub async fn get_chat_revenue_statistics(
    chat_id: i64,
    is_dark: bool,
    client_id: i32,
) -> Result<ChatRevenueStatistics, Error>
Expand description

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

ยงArguments

  • chat_id - Chat identifier
  • is_dark - Pass true if a dark theme is used by the application
  • client_id - The client id to send the request to