list_topics
Lists forum topics in a permitted supergroup by ID, @username, or t.me link, with optional topic-name search and cursor pagination for reading threads.
Instructions
List topics in a permitted forum supergroup by ID, @username or t.me[/s] link.
query optionally searches topic names. Public discovery/read permissions do not
authorize forum groups. Follow next_cursor with the original selector and query;
a short or empty page can still have a cursor. Results preserve Telegram order
and report incomplete metadata in issues. Temporary failures retain a cursor;
respect retry_after_seconds. Topic order and titles may change during traversal.
Pass a topic ID to get_history or get_pinned_messages to read that topic.
Read top_message_ref with get_messages, or ordinary root_message_ref with
get_thread. General (ID 1) has no root_message_ref. Bot forums and monoforums
are unsupported. Listing topics does not mark them read or modify them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| query | No | ||
| cursor | No | ||
| chat_ref | Yes |