ScheduleResource

Twitch Helix Schedule API resource.

Provides methods for managing and retrieving channel stream schedules.

See also

Functions

Link copied to clipboard
suspend fun createSegment(broadcasterId: String, startTime: String, timezone: String, duration: Int = 240, isRecurring: Boolean = false, categoryId: String? = null, title: String? = null)
Link copied to clipboard
Link copied to clipboard
suspend fun getSchedule(broadcasterId: String, ids: List<String> = emptyList(), startTime: String? = null, first: Int = 20, after: String? = null): StreamSchedule
Link copied to clipboard
suspend fun updateSegment(broadcasterId: String, segmentId: String, startTime: String? = null, timezone: String? = null, duration: Int? = null, isCanceled: Boolean? = null, categoryId: String? = null, title: String? = null)
Link copied to clipboard
suspend fun updateSettings(broadcasterId: String, isVacationEnabled: Boolean? = null, vacationStartTime: String? = null, vacationEndTime: String? = null, timezone: String? = null)