deleteMessage

abstract fun deleteMessage(messageId: String, userCustomName: String, timestampReceivedAt: String? = null)

Deletes a message from the chat room.

Parameters

messageId

The ID of the message to delete.

userCustomName

The custom name of the user who deleted the message.

timestampReceivedAt

The timestamp when the message was received.