Delete User Messages Older Than X days

Parameter Description:

daysYesDelete chat history older than X days


Application Bot

In case of Application Bot calling the API, Of-User-Id header required too. Of-User-Id is the userId of the user on behalf of which application bot wants to delete the messages.

Click Try It! to start a request and see the response here!