messages.getForumTopics
Get topics of a forum
Get [topics of a forum](https://core.telegram.org/api/forum.md)
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
peer | InputPeer | はい | The supergroup forum, private chat (for forum-enabled bots) or bot forum (for users) where the topic is located. |
q | string | いいえ | 検索クエリ |
icon_emoji_id | long | いいえ | 64-битное целое в десятичной записи. |
closed | Bool | いいえ | TL 型 `Bool` の値。 |
offset_date | int | はい | [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 | はい | [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 | はい | [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 | はい | 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. |
レスポンス
messages.ForumTopics
MTProto RPC
- 400 · CHANNEL_FORUM_MISSING — This supergroup is not a forum.
- 400 · CHANNEL_INVALID — The provided channel is invalid.