ChannelInformation

@Serializable
data class ChannelInformation(val broadcasterId: String, val broadcasterLogin: String, val broadcasterName: String, val broadcasterLanguage: String = "", val gameName: String = "", val gameId: String = "", val title: String = "", val delay: Int = 0, val tags: List<String>? = null, val contentClassificationLabels: List<String> = emptyList(), val isBrandedContent: Boolean = false)

Twitch API: Get Channel Information

Constructors

Link copied to clipboard
constructor(broadcasterId: String, broadcasterLogin: String, broadcasterName: String, broadcasterLanguage: String = "", gameName: String = "", gameId: String = "", title: String = "", delay: Int = 0, tags: List<String>? = null, contentClassificationLabels: List<String> = emptyList(), isBrandedContent: Boolean = false)

Properties

Link copied to clipboard
@SerialName(value = "broadcaster_id")
val broadcasterId: String

an ID that uniquely identifies the broadcaster.

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

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

Link copied to clipboard
@SerialName(value = "broadcaster_login")
val broadcasterLogin: String

the broadcaster's login name.

Link copied to clipboard
@SerialName(value = "broadcaster_name")
val broadcasterName: String

the broadcaster's display name.

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

the content classification labels applied to the channel.

Link copied to clipboard
val delay: Int

the value of the broadcaster's stream delay setting, in seconds.

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

an ID that uniquely identifies the game the broadcaster is playing or last played.

Link copied to clipboard
@SerialName(value = "game_name")
val gameName: String

the name of the game the broadcaster is playing or last played.

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

whether the channel has branded content.

Link copied to clipboard

the tags applied to the channel.

Link copied to clipboard

the title of the stream the broadcaster is currently streaming or last streamed.