MadelineProto/docs/TD_docs/methods/getCommonChats.md

822 B

title description
getCommonChats Returns list of common chats with an other given user. Chats are sorted by their type and creation date

Method: getCommonChats

Back to methods index

YOU CANNOT USE THIS METHOD IN MADELINEPROTO

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

Parameters:

Name Type Required Description
user_id CLICK ME int Yes User identifier
offset_chat_id CLICK ME int53 Yes Chat identifier to return chats from, use 0 for the first request
limit CLICK ME int Yes Maximum number of chats to be returned, up to 100

Return type: Chats