Finding dialogs and messages
Find a conversation by name or ID, or locate a message inside an open dialog.
Open the project dialog list.
Find a Dialog
Enter a name, dialog ID, or message fragment in the search field. Results appear as you type; the cross button clears the query.
If you have a dialog ID, paste the full ID. The leading # is optional.
Text search gives matches in the dialog title more weight than matches only in messages. In a private conversation, this helps you find a dialog by the other person's name. Messages are also searched; to locate a specific message in a known dialog, use the search inside it.
Search can find words with minor typos. These matches may appear in the results without highlighting.

Find a Message Inside a Dialog
- Open a dialog.

- Open the three-dot menu in the chat header and select Search in dialog.
- Enter words from the message in the chat search field.
- Click a matching result to go to that message.
Results show the sender, time, and a message fragment. To finish searching, click the close button on the results panel.

Find an earlier file through the API or MCP
Read a specific dialog history with has_attachments=true and, optionally, attachment_types, such as photo for pictures. Supported types are photo, video, voice, audio, document, and sticker; video includes animations and video notes. Contacts, links, and locations are not files for this filter. has_attachments=false selects events without files and cannot be combined with attachment types.
Filtering happens before pagination and includes archived history. Use limit and before/after; these filters cannot be combined with text search q, an around_event_id jump, or a Telegram topic filter. If the file is not on the first page, continue with the cursor. The filter does not extend access beyond the current dialog or guarantee that a file remains available after automatic cleanup.