getChannel

Fetches information about a channel; its title, what game is being played, the channel tags, etc.

Note: Must be called from inside a Fiber.

version(TwitchSupport && WithTwitchPlugin)
getChannel
(,
const string channelName = string.init
,
const ulong channelID = 0
,
const string caller = __FUNCTION__
)

Parameters

plugin TwitchPlugin

The current TwitchPlugin.

channelName string

Name of channel to fetch information about.

channelID ulong

Numerical ID of channel to fetch information about.

caller string

Name of the calling function.

Return Value

Type: auto

A Voldemort with the channel information.

See Also