UpdateChannelRequest

@Serializable
data class UpdateChannelRequest(val gameId: String? = null, val broadcasterLanguage: String? = null, val title: String? = null, val delay: Int? = null, val tags: List<String>? = null, val contentClassificationLabels: List<ContentClassificationLabel>? = null, val isBrandedContent: Boolean? = null)

Twitch API: Modify Channel Information

Constructors

Link copied to clipboard
constructor(gameId: String? = null, broadcasterLanguage: String? = null, title: String? = null, delay: Int? = null, tags: List<String>? = null, contentClassificationLabels: List<ContentClassificationLabel>? = null, isBrandedContent: Boolean? = null)

Properties

Link copied to clipboard
@SerialName(value = "broadcaster_language")
val broadcasterLanguage: String?

the user's preferred language as an ISO 639-1 two-letter code.

Link copied to clipboard
@SerialName(value = "content_classification_labels")
val contentClassificationLabels: List<ContentClassificationLabel>?

a list of content classification labels to apply to the channel.

Link copied to clipboard
val delay: Int?

the number of seconds to buffer the broadcast before streaming it live; Partners only, max 900.

Link copied to clipboard
@SerialName(value = "game_id")
val gameId: String?

the ID of the game that the user plays; use "0" or "" to unset.

Link copied to clipboard
@SerialName(value = "is_branded_content")
val isBrandedContent: Boolean?

whether the channel has branded content.

Link copied to clipboard

a list of channel-defined tags; set to an empty array to remove all tags.

Link copied to clipboard

the title of the user's stream.