messages.getDialogs
Get list of dialogs
Returns the current account's dialog page. The selection can be limited to a folder.
| Name | Type | Required | Description |
|---|---|---|---|
exclude_pinned | true | No | Skip pinned conversations. |
folder_id | int | No | Dialogue folder identifier. |
offset_date | int | Yes | Date of the message to advance to the next page, in Unix seconds. |
offset_id | int | Yes | Message ID for list offset. |
offset_peer | InputPeer | Yes | The chat regarding which the issuance continues. |
limit | int | Yes | The maximum number of dialogs returned. |
hash | long | Yes | A hash of previously received results to check for changes. |
Replies
messages.Dialogs
MTProto RPC
- 400 · CHAT_NOT_MODIFIED — No changes were made to chat information because the new information you passed is identical to the current information.
- 403 · CHAT_WRITE_FORBIDDEN — You can't write in this chat.
- 400 · FOLDER_ID_INVALID — Invalid folder ID.
- 400 · OFFSET_PEER_ID_INVALID — The provided offset peer is invalid.
- 400 · PINNED_DIALOGS_TOO_MUCH — Too many pinned dialogs.
- 400 · TAKEOUT_INVALID — The specified takeout ID is invalid.