deleteMessage

Deletes a message.

Parameters

message

Message to delete.

handler

Callback handler.


fun deleteMessage(messageId: Long, handler: CompletionHandler?)

Deletes a message with message ID. To delete message in OpenChannel with ephemeral mode, use deleteMessage with BaseMessage object instead.

Since

4.0.0

Parameters

messageId

Message ID to delete.

handler

Callback handler.