StreamMarkerDetail

@Serializable
data class StreamMarkerDetail(val id: String, val createdAt: Instant, val description: String = "", val positionSeconds: Int, val url: String = "")

Represents a detailed stream marker within a video, including a URL to the Twitch Highlighter.

See also

Constructors

Link copied to clipboard
constructor(id: String, createdAt: Instant, description: String = "", positionSeconds: Int, url: String = "")

Properties

Link copied to clipboard
@SerialName(value = "created_at")
val createdAt: Instant

the UTC date and time of when the user created the marker.

Link copied to clipboard

the description that the user gave the marker to help them remember why they marked the location. Is an empty string if the user didn't provide one.

Link copied to clipboard
val id: String

an ID that identifies this marker.

Link copied to clipboard
@SerialName(value = "position_seconds")
val positionSeconds: Int

the relative offset (in seconds) of the marker from the beginning of the stream.

Link copied to clipboard
@SerialName(value = "URL")
val url: String

a URL that opens the video in Twitch Highlighter.