StreamMarker

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

Represents a stream marker created via the Twitch Helix API.

See also

Constructors

Link copied to clipboard
constructor(id: String, createdAt: Instant, positionSeconds: Int, description: 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

a 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.