Skip to content

getCommonChats

Sahri Riza Umami edited this page Dec 8, 2016 · 6 revisions

Returns list of common chats with an other given user.

getCommonChats(user_id, offset_chat_id, limit)

Chats are sorted by their type and creation date.

Option Description
user_id User identifier.
offset_chat_id Chat identifier to return chats from, use 0 for the first request.
limit Maximum number of chats to be returned, up to 100

Example

List 20 common chats with 133780085.

getCommonChats(133780085, 0, 20)

Test script
Frequently Asked Questions
The Functions

Clone this wiki locally