> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.beatapi.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.beatapi.io/_mcp/server.

# Telegram questions

> Choose the Telegram input for a channel, a message, a search or a discussion, and the cursor for older or newer messages.

A Telegram message is identified by the channel username plus the integer message ID; [channel and message IDs](/faq/telegram-channel-identifiers) explains both values. To read older or newer messages from a saved batch, pass the matching `before` or `after` [cursor](/faq/telegram-pagination).

## Choose a task

* [Channels and message IDs](/faq/telegram-channel-identifiers)
* [Pagination and search](/faq/telegram-pagination)

## What should I pass for a channel, a search or a discussion?

| What you have                                            | Next step                                                                                                                                                                                                             |
| -------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| A public channel home page                               | Use the username for lists and search. The channel info route also accepts the channel URL. See [channel and message IDs](/faq/telegram-channel-identifiers).                                                         |
| A saved batch and a need for more history or newer posts | Use `before` for older and `after` for newer. Pass the integer cursor returned for that direction. See [pagination](/faq/telegram-pagination).                                                                        |
| A known channel and keyword                              | Search inside that channel, then check the dates of the results.                                                                                                                                                      |
| A message link and a need for discussion                 | Use the channel username and that message's integer ID for comments. Telegram shows a comment button when the channel has an associated discussion group. [Telegram Channels FAQ](https://telegram.org/faq_channels/) |

The Telegram actions on this page read public channel material and send nothing. To send an alert, use the Telegram delivery channel you configured separately.

## Related content

[Telegram task guides](/guides/telegram)