deleteMessage

Deletes a message, or all messages in a channel.

Doesn't require broadcaster-level authorisation; the normal bot token is enough.

version(TwitchSupport && WithTwitchPlugin)
package
deleteMessage
(,
const string channelName
,
const string messageID
,
const string caller = __FUNCTION__
)

Parameters

plugin TwitchPlugin

The current TwitchPlugin.

channelName string

Name of channel to delete message(s) in.

messageID string

ID of message to delete. Pass an empty string to delete all messages.

caller string

Name of the calling function.

See Also