get_chat_statistics

Function get_chat_statistics 

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

Returns detailed statistics about a chat. Currently, this method can be used only for supergroups and channels. Can be used only if supergroupFullInfo.can_get_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