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

nametypedescription
flags#
channelInputChannel
qflags.0?string
offset_dateint
offset_idint
offset_topicint
limitint

returns

messages.ForumTopics

errors (5)

codeerrordescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis 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.
400CHANNEL_FORUM_MISSINGThis supergroup is not a forum.
400CHANNEL_INVALIDThe provided channel is invalid.
400CHANNEL_MONOFORUM_UNSUPPORTEDMonoforums do not support this feature.
400CHANNEL_PRIVATEYou haven't joined this channel/supergroup.

history

present in layers 148–215

idlayers
#0de560d1148–215