Telegram MTProto icon

Telegram MTProto

Full-featured Telegram MTProto client (Pyrogram equivalent)

Chat → Get Dialogs

AI-generated

Summary

Retrieve a list of Telegram dialogs (chats and channels) accessible by the authenticated user, limited to a specified maximum number.

Inputs

  • Limit — Maximum number of dialogs to retrieve; defaults to 100.
  • Additional Options — Optional parameters for customizing the request, including text parse mode (Markdown, HTML, or none), and pagination controls such as Offset ID, Min ID, and Max ID.

Output shape

An array of dialog objects representing chats and channels from the user's Telegram account.

The output contains the dialogs up to the specified limit. Additional options like Offset ID, Min ID, and Max ID can be used for pagination or filtering where supported. Errors in retrieval propagate unless 'Continue On Fail' is enabled.

Discussion