messages.deleteHistory
Deletes communication history.
Example
TL schema
Parameters
Name
Type
Description
just_clear
Just clear history for the current user, without actually removing messages for every chat user
Result
Possible errors
Code
Type
Description
400
CHAT_ID_INVALID
The provided chat id is invalid
400
MESSAGE_ID_INVALID
The provided message id is invalid
400
MSG_ID_INVALID
Invalid message ID provided
400
PEER_ID_INVALID
The provided peer id is invalid
Can bots use this methd ?
yes
Related pages
Last updated