Get information about all owned or participated chats
Name
Required
Type
Default value
Description
marker
false
String
Paging marker Must be empty in a first request. Value for further requests can be get in a previous API response
count
false
Integer
50
Number of chats to be returned Value from 1 to 100
Method is user to get information about all chats and dialogs user or group has participated in. Chat are sorted based on a last activity time. Chats with the most recent activities come first.
Since the number of chats can exceed the maximum number of chats returned by method the marker parameter should be used to get all chats using paging feature of the method.
In each consequent request marker parameter can be specified based on a previous API response. If marker is not present in a response it means you’ve reached the end of chats’ list.
It is recommended to use /me/chat method if chat Id is already known.