setChannelGame

Changes the currently streamed game of a channel.

Note: Must be called from inside a Fiber.

version(TwitchSupport && WithTwitchPlugin)
package
void
setChannelGame
(,
const string channelName
,
const uint gameID
,
const string caller = __FUNCTION__
)

Parameters

plugin TwitchPlugin

The current TwitchPlugin.

channelName string

Name of channel to modify.

gameID uint

Optional game ID to set the channel as playing.

caller string

Name of the calling function.