← All methods

messages.getConversations

Lists the current user’s conversations. filter=important shows conversations that contain your messages marked as important; filter=spam shows conversations reported as spam. Only your own message copies appear in these folders.

Parameters

Parameter Type Required Description
filter string no all (default), unread, important, unanswered, spam. Any other value is treated as all.
offset integer no Offset.
count integer no Number of conversations.
start_message_id integer no Upper bound by message id.
extended integer no 1 — include profiles and groups.

Example

curl -s -X POST 'https://durovloh.net/api.php' \
  -d 'method=messages.getConversations' \
  -d 'access_token=USER_TOKEN'