deleteChat

fun deleteChat(regexp: NativeRegExp)

Deletes an already sent chat message matching regexp.

Parameters

regexp

the regex object to match to the message


fun deleteChat(toDelete: String)

Deletes an already sent chat message by the text of the chat

Parameters

toDelete

the unformatted text of the message to be deleted


fun deleteChat(toDelete: Message)

Deletes an already sent chat message by the Message

Parameters

toDelete

the message to be deleted


fun deleteChat(chatLineId: Int)

Deletes an already sent chat message by its chat line id

Parameters

chatLineId

the chat line id of the message to be deleted