ChannelAdBreakBegin
data class ChannelAdBreakBegin(val subscriptionType: String, val messageId: String, val timestamp: Instant, val durationSeconds: Int, val startedAt: Instant, val isAutomatic: Boolean, val broadcasterUserId: String, val broadcasterUserLogin: String, val broadcasterUserName: String, val requesterUserId: String, val requesterUserLogin: String, val requesterUserName: String) : TwitchEvent
Constructors
Link copied to clipboard
constructor(subscriptionType: String, messageId: String, timestamp: Instant, durationSeconds: Int, startedAt: Instant, isAutomatic: Boolean, broadcasterUserId: String, broadcasterUserLogin: String, broadcasterUserName: String, requesterUserId: String, requesterUserLogin: String, requesterUserName: String)
Properties
Link copied to clipboard
the broadcaster's user ID for the channel the ad was run on.
Link copied to clipboard
the broadcaster's login for the channel the ad was run on.
Link copied to clipboard
the broadcaster's display name for the channel the ad was run on.
Link copied to clipboard
length in seconds of the mid-roll ad break requested.
Link copied to clipboard
whether the ad was automatically scheduled via Ads Manager.
Link copied to clipboard
the ID of the user that requested the ad. For automatic ads, this is the broadcaster's ID.
Link copied to clipboard
the login of the user that requested the ad.
Link copied to clipboard
the display name of the user that requested the ad.
Link copied to clipboard
The EventSub subscription type string (e.g. channel.follow).