getFollowers

Fetches a list of all followers of the passed channel and caches them in the channel's entry in TwitchPlugin.rooms.

Note: Must be called from inside a Fiber.

version(TwitchSupport && WithTwitchPlugin)
package
getFollowers
(,
const ulong id
,
const string caller = __FUNCTION__
)

Parameters

plugin TwitchPlugin

The current TwitchPlugin.

id ulong

The numerical identifier for the channel.

caller string

Name of the calling function.

Return Value

Type: auto

An associative array of Followers keyed by nickname string.

Throws

UnexpectedJSONException on unexpected JSON received.

See Also