ChannelTeam

@Serializable
data class ChannelTeam(val broadcasterId: String, val broadcasterLogin: String, val broadcasterName: String, val backgroundImageUrl: String? = null, val banner: String? = null, val createdAt: Instant, val updatedAt: Instant, val info: String, val thumbnailUrl: String, val teamDisplayName: String, val teamName: String, val id: String)

Represents a team that a broadcaster is a member of, as returned by Get Channel Teams.

See also

Constructors

Link copied to clipboard
constructor(broadcasterId: String, broadcasterLogin: String, broadcasterName: String, backgroundImageUrl: String? = null, banner: String? = null, createdAt: Instant, updatedAt: Instant, info: String, thumbnailUrl: String, teamDisplayName: String, teamName: String, id: String)

Properties

Link copied to clipboard
@SerialName(value = "background_image_url")
val backgroundImageUrl: String?

a URL to the team's background image.

Link copied to clipboard

a URL to the team's banner.

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

an ID that identifies the broadcaster.

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 = "created_at")
val createdAt: Instant

the UTC date and time of when the team was created.

Link copied to clipboard
val id: String

an ID that identifies the team.

Link copied to clipboard

the team's description. The description may contain formatting such as Markdown, HTML, newline (\n) characters, etc.

Link copied to clipboard
@SerialName(value = "team_display_name")
val teamDisplayName: String

the team's display name.

Link copied to clipboard
@SerialName(value = "team_name")
val teamName: String

the team's name.

Link copied to clipboard
@SerialName(value = "thumbnail_url")
val thumbnailUrl: String

a URL to a thumbnail image of the team's logo.

Link copied to clipboard
@SerialName(value = "updated_at")
val updatedAt: Instant

the UTC date and time of the last time the team was updated.