messages.getDialogs
Returns the current user dialog list.
Example
TL schema
Parameters
Name
Type
Description
flags
exclude_pinned
Exclude pinned dialogs
folder_id
offset_date
offset_id
offset_peer
limit
Number of list elements to be returned
hash
Result
Possible errors
Code
Type
Description
400
FOLDER_ID_INVALID
Invalid folder ID
400
INPUT_CONSTRUCTOR_INVALID
The provided constructor is invalid
400
OFFSET_PEER_ID_INVALID
The provided offset peer is invalid
Can bots use this methd ?
yes
Related pages
Telegram allows placing chats into folders, based on their type, mute status, or other custom criteria, thanks to folder blacklists and whitelists.
How to fetch results from large lists of objects.
Last updated