Skip to content
This repository has been archived by the owner on Jul 3, 2021. It is now read-only.

[actions] moderateDeleteChat

Talos51 edited this page May 29, 2015 · 1 revision

moderateDeleteChat(cID[, callback])

Delete a chat message. The bot needs to have bouncer permission or higher.


Parameters

cID string

The chat message ID.

callback function (optional)

Callback function to be called with data from server.


Returns

true if request queued; otherwise false


Example

// Delete message with cID 'xxxxxxxxxxx'
bot.moderateDeleteChat('xxxxxxxxx');
Clone this wiki locally