channels.deleteTopicHistory

Delete message history of a forum topic

messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory;
---functions---
channels.deleteTopicHistory#34435f2d channel:InputChannel top_msg_id:int = messages.AffectedHistory;

Parameters

Name Type Description
channel InputChannel Forum
top_msg_id int Topic ID

Result

messages.AffectedHistory

Bots can use this method

Related pages

Forums

Telegram allows creating forums with multiple distinct topics.