listAll

fun listAll(broadcasterId: String, userId: String? = null): Flow<Follower>

Twitch API: Get Channel Followers

Paginates through all followers in descending order by follow date.

This endpoint will return specific follower information only if the user access token includes the moderator:read:followers scope and the user ID in the access token matches the broadcaster_id or is a moderator for the specified broadcaster.

Return

a Flow emitting each follower.

Parameters

broadcasterId

the broadcaster's ID. Returns the list of users that follow this broadcaster.

userId

a user's ID. Use this parameter to see whether the user follows this broadcaster. If specified, the response contains this user if they follow the broadcaster.