messages.GetCommonChats

class pyrogram.raw.functions.messages.GetCommonChats

Get chats in common with a user

Details:
  • Layer: 187

  • ID: E40CA104

Parameters:
  • user_id (InputUser) – User ID

  • max_id (int 64-bit) – Maximum ID of chat to return (see pagination)

  • limit (int 32-bit) – Maximum number of results to return, see pagination

Returns:

messages.Chats