Message history. If a message is a call summary, the message object includes vc_call: {id, state, video, out, duration, peer_id}. state: declined, ended, missed, busy.
| Parameter | Type | Required | Description |
|---|---|---|---|
offset |
mixed | no | |
count |
mixed | no | |
user_id |
mixed | no | |
peer_id |
mixed | no | |
chat_id |
mixed | no | |
start_message_id |
mixed | no | |
rev |
mixed | no | |
extended |
mixed | no | |
fields |
mixed | no |
curl -s -X POST 'https://durovloh.net/api.php' \ -d 'method=messages.getHistory' \ -d 'access_token=USER_TOKEN'