list
suspend fun list(broadcasterId: String, ids: List<String> = emptyList(), first: Int = 20, after: String? = null): List<Prediction>
Gets a list of Channel Points Predictions that the broadcaster created.
Return
the list of predictions.
Parameters
broadcasterId
the ID of the broadcaster whose predictions you want to get. This ID must match the user ID in the user access token.
ids
the ID of the prediction to get. You may specify a maximum of 25 IDs. The endpoint ignores duplicate IDs and those not owned by the broadcaster.
first
the maximum number of items to return per page in the response. The minimum page size is 1 item per page and the maximum is 25 items per page. The default is 20.
after
the cursor used to get the next page of results.