Function get_message_stats

Source
async fn get_message_stats(
    context: &Context,
) -> Result<BTreeMap<Chattype, MessageStats>>
Expand description
  • last_msg_id: The last msg_id that was already counted in the previous stats. Only messages newer than that will be counted.
  • one_one_chats: If true, only messages in 1:1 chats are counted. If false, only messages in other chats (groups and broadcast channels) are counted.