deleteMessagesForMe

public final Unit deleteMessagesForMe(List<Message> messages, ErrorHandler handler)

Deletes messages for the current user (both remote and local).

The messages are removed from the server and the local database simultaneously. Other participants are not affected. A single call supports at most 100 messages, and all messages must belong to this channel.

Note: open channels (chatrooms) are not supported.

Parameters

messages

List of messages to delete

handler

Error callback; null error indicates success