telegram api method · layer 215 · #f40c0224

channels.createForumTopic

not in the latest layer 229: last defined in layer 215

definition

channels.createForumTopic#f40c0224 flags:# channel:InputChannel title:string icon_color:flags.0?int icon_emoji_id:flags.3?long random_id:long send_as:flags.2?InputPeer = Updates;

parameters

nametypedescription
flags#
channelInputChannel
titlestring
icon_colorflags.0?int
icon_emoji_idflags.3?long
random_idlong
send_asflags.2?InputPeer

returns

Updates

errors (7)

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.
400DOCUMENT_INVALIDThe specified document is invalid.
400TOPIC_TITLE_EMPTYThe specified topic title is empty.
403CHAT_WRITE_FORBIDDENYou can't write in this chat.
403PREMIUM_ACCOUNT_REQUIREDA premium account is required to execute this action.

history

present in layers 148–215

idlayers
#f40c0224148–215