telegram api method · layer 215 · #34435f2d

channels.deleteTopicHistory

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

definition

channels.deleteTopicHistory#34435f2d channel:InputChannel top_msg_id:int = messages.AffectedHistory;

parameters

nametypedescription
channelInputChannel
top_msg_idint

returns

messages.AffectedHistory

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.
400TOPIC_ID_INVALIDThe specified topic ID is invalid.
403CHAT_WRITE_FORBIDDENYou can't write in this chat.

history

present in layers 148–215

idlayers
#34435f2d148–215