messages.deleteTopicHistory

messages.affectedHistory#b45c69d1 pts:int pts_count:int offset:int = messages.AffectedHistory;
---functions---
messages.deleteTopicHistory#d2816f10 peer:InputPeer top_msg_id:int = messages.AffectedHistory;

Parameters

Name Type Description
peer InputPeer  
top_msg_id int  

Result

messages.AffectedHistory

Both users and bots can use this method

Possible errors

Code Type Description
400 CHANNEL_INVALID The provided channel is invalid.