messages.getForumTopics
messages.forumTopics#367617d3 flags:# order_by_create_date:flags.0?true count:int topics:Vector<ForumTopic> messages:Vector<Message> chats:Vector<Chat> users:Vector<User> pts:int = messages.ForumTopics;
---functions---
messages.getForumTopics#3ba47bff flags:# peer:InputPeer q:flags.0?string offset_date:int offset_id:int offset_topic:int limit:int = messages.ForumTopics;
Parameters
| Name | Type | Description |
|---|---|---|
| flags | # | Flags, see TL conditional fields |
| peer | InputPeer | |
| q | flags.0?string | |
| offset_date | int | Offsets for pagination, for more info click here |
| offset_id | int | Offsets for pagination, for more info click here |
| offset_topic | int | |
| limit | int | Maximum number of results to return, see pagination |
Result
Only users can use this method
Possible errors
| Code | Type | Description |
|---|---|---|
| 400 | CHANNEL_INVALID | The provided channel is invalid. |
Related pages
Pagination in the API
How to fetch results from large lists of objects.