channels.getForumTopicsByID #
Get forum topics by their ID¶
Layer 223
Method schema is available as of layer 216. Switch » Parameters #
| Name | Type | Description |
|---|---|---|
| channel | InputChannel | Forum |
| topics | Vector<int> | Topic IDs |
Result #
Only users can use this method #
Possible errors #
| Code | Type | Description |
|---|---|---|
| 400 | CHANNEL_FORUM_MISSING | This supergroup is not a forum. |
| 400 | CHANNEL_INVALID | The provided channel is invalid. |
| 400 | TOPICS_EMPTY | You specified no topic IDs. |