getFollowedChannels

suspend fun getFollowedChannels(userId: String, broadcasterId: String? = null, cursor: String? = null, pageSize: Int? = null): Page<FollowedChannel>

Twitch API: Get Followed Channels

Gets a single page of broadcasters that the specified user follows.

Return

a Page 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.

cursor

the cursor used to get the next page of results.

pageSize

the maximum number of items to return per page (1-100, default 20). Null uses the API default.