startCommercial

Starts a commercial in the specified channel.

Note: Must be called from inside a Fiber.

version(TwitchSupport && WithTwitchPlugin)
package
void
startCommercial
(,
const string channelName
,
const string lengthString
,
const string caller = __FUNCTION__
)

Parameters

plugin TwitchPlugin

The current TwitchPlugin.

channelName string

Name of channel to run commercials for.

lengthString string

Length to play the commercial for, as a string.

caller string

Name of the calling function.

Meta