TDLib v0.0.2 TDLib.Method.GetGroupsInCommon View Source

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

NameTypeDescription
user_idnumberUser identifier.
offset_chat_idstringChat identifier starting from which to return chats; use 0 for the first request.
limitnumberMaximum number of chats to be returned; up to 100.

More details on telegram’s documentation.