telegram api method · layer 215 · #0de560d1
channels.getForumTopics
not in the latest layer 229: last defined in layer 215
definition
channels.getForumTopics#de560d1 flags:# channel:InputChannel q:flags.0?string offset_date:int offset_id:int offset_topic:int limit:int = messages.ForumTopics;
parameters
| name | type | description |
|---|---|---|
flags | # | |
channel | InputChannel | |
q | string | |
offset_date | int | |
offset_id | int | |
offset_topic | int | |
limit | int |
returns
errors (5)
| code | error | description |
|---|---|---|
| 400 | BUSINESS_CONNECTION_NOT_ALLOWED | This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we're a user, and users cannot invoke methods over a business connection; (2) we're a bot, but business mode was disabled in @botfather or (3); we're a bot, but this method cannot be invoked over a business connection. |
| 400 | CHANNEL_FORUM_MISSING | This supergroup is not a forum. |
| 400 | CHANNEL_INVALID | The provided channel is invalid. |
| 400 | CHANNEL_MONOFORUM_UNSUPPORTED | Monoforums do not support this feature. |
| 400 | CHANNEL_PRIVATE | You haven't joined this channel/supergroup. |
history
present in layers 148–215
| id | layers |
|---|---|
| #0de560d1 | 148–215 |