channels.deleteTopicHistory

Delete message history of a forum topic

 Method schema is available as of layer 148. Switch ยป

Parameters

Name Type Description
channel InputChannel Forum
top_msg_id int Topic ID

Result

messages.AffectedHistory

Possible errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.
400 TOPIC_ID_INVALID The specified topic ID is invalid.

Bots can use this method

Related pages

Forums

Telegram allows creating forums with multiple distinct topics.