messages.getForumTopics
Get topics of a forum
Get [topics of a forum](https://core.telegram.org/api/forum.md)
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
peer | InputPeer | Ja | The supergroup forum, private chat (for forum-enabled bots) or bot forum (for users) where the topic is located. |
q | string | Nein | Suchanfrage |
icon_emoji_id | long | Nein | 64-битное целое в десятичной записи. |
closed | Bool | Nein | Wert des TL-Typs `Bool`. |
offset_date | int | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md), date of the last message of the last found topic. Use 0 or any date in the future to get results from the last topic. |
offset_id | int | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md), ID of the last message of the last found topic (or initially `0`). |
offset_topic | int | Ja | [Offsets for pagination, for more info click here](https://core.telegram.org/api/offsets.md), ID of the last found topic (or initially `0`). |
limit | int | Ja | Maximum number of results to return, [see pagination](https://core.telegram.org/api/offsets.md). For optimal performance, the number of returned topics is chosen by the server and can be smaller than the specified limit. |
Antworten
messages.ForumTopics
MTProto RPC
- 400 · CHANNEL_FORUM_MISSING — Diese Supergruppe ist kein Forum.
- 400 · CHANNEL_INVALID – Der angegebene Kanal ist ungültig.