messages.getCommonChats

Get chats in common with a user

 Method schema is available as of layer 133. Switch ยป

Parameters

Name Type Description
user_id InputUser User ID
max_id long Maximum ID of chat to return (see pagination)
limit int Maximum number of results to return, see pagination

Result

messages.Chats

Only users can use this method

Possible errors

Code Type Description
400 MSG_ID_INVALID Invalid message ID provided.
400 USER_ID_INVALID The provided user ID is invalid.

Related pages

Pagination in the API

How to fetch results from large lists of objects.