getAllFollowedChannels

fun getAllFollowedChannels(userId: String, broadcasterId: String? = null): Flow<FollowedChannel>

Twitch API: Get Followed Channels

Gets all broadcasters that the specified user follows. Automatically paginates through all results.

Return

a Flow of FollowedChannel objects.

Parameters

userId

a user's ID. Returns the list of broadcasters that this user follows. This ID must match the user ID in the user OAuth token.

broadcasterId

a broadcaster's ID. Use this parameter to see whether the user follows this broadcaster.