Function get_groups_in_common

Source
pub async fn get_groups_in_common(
    user_id: i64,
    offset_chat_id: i64,
    limit: i32,
    client_id: i32,
) -> Result<Chats, Error>
Expand description

Returns a list of common group chats with a given user. Chats are sorted by their type and creation date

ยงArguments

  • user_id - User identifier
  • offset_chat_id - Chat identifier starting from which to return chats; use 0 for the first request
  • limit - The maximum number of chats to be returned; up to 100
  • client_id - The client id to send the request to