getChatters

Get the JSON representation of everyone currently in a broadcaster's channel.

It is not updated in realtime, so it doesn't make sense to call this often.

version(TwitchSupport && WithTwitchPlugin)
package
getChatters
(,
const string broadcaster
,
const string caller = __FUNCTION__
)

Parameters

plugin TwitchPlugin

The current TwitchPlugin.

broadcaster string

The broadcaster to look up chatters for.

caller string

Name of the calling function.

Return Value

Type: auto

A JSONValue with "chatters" and "chatter_count" keys. If nothing was found, an exception is thrown instead.

Throws

UnexpectedJSONException on unexpected JSON.

Meta