clean Remote History Messages
Clears historical messages stored on the server.
Clears server-side historical messages before the specified timestamp for a specific conversation based on the conversation type and target conversation ID. After successful clearance, only historical messages after this timestamp can be retrieved from the server.
Note: The historical message cloud storage feature must be enabled first!
Since
5.1.1
Parameters
Specifies the conversation type.
Specifies the conversation ID.
Specifies the business identifier of the message's conversation.
Specifies the timestamp up to which messages will be cleared. 0 <=
recordTime <= sentTime of the last message in the conversation
. A value of 0 clears all messages, while other values clear messages with a timestamp less than or equal to recordTime.
Callback for the message clearance operation.