initRoom

Registers a new TwitchPlugin.Room as we join a channel, so there's always a state struct available.

version(TwitchSupport && WithTwitchPlugin)
private
initRoom

Parameters

plugin TwitchPlugin

The current TwitchPlugin.

channelName string

The name of the channel we're supposedly joining.

Return Value

Type: auto

A pointer to the new TwitchPlugin.Room.