ChannelShoutoutCreate

data class ChannelShoutoutCreate(val subscriptionType: String, val messageId: String, val timestamp: Instant, val broadcasterUserId: String, val broadcasterUserLogin: String, val broadcasterUserName: String, val moderatorUserId: String, val moderatorUserLogin: String, val moderatorUserName: String, val toBroadcasterUserId: String, val toBroadcasterUserLogin: String, val toBroadcasterUserName: String, val viewerCount: Int, val startedAt: Instant, val cooldownEndsAt: Instant, val targetCooldownEndsAt: Instant) : TwitchEvent

Twitch EventSub: channel.shoutout.create

Constructors

Link copied to clipboard
constructor(subscriptionType: String, messageId: String, timestamp: Instant, broadcasterUserId: String, broadcasterUserLogin: String, broadcasterUserName: String, moderatorUserId: String, moderatorUserLogin: String, moderatorUserName: String, toBroadcasterUserId: String, toBroadcasterUserLogin: String, toBroadcasterUserName: String, viewerCount: Int, startedAt: Instant, cooldownEndsAt: Instant, targetCooldownEndsAt: Instant)

Properties

Link copied to clipboard

the broadcaster's user ID.

Link copied to clipboard

the broadcaster's login.

Link copied to clipboard

the broadcaster's display name.

Link copied to clipboard

RFC3339 timestamp of when the shoutout cooldown ends.

Link copied to clipboard
open override val messageId: String

Unique ID for this EventSub message.

Link copied to clipboard

the user ID of the moderator who created the shoutout.

Link copied to clipboard

the login of the moderator who created the shoutout.

Link copied to clipboard

the display name of the moderator who created the shoutout.

Link copied to clipboard

RFC3339 timestamp of when the shoutout started.

Link copied to clipboard
open override val subscriptionType: String

The EventSub subscription type string (e.g. channel.follow).

Link copied to clipboard

RFC3339 timestamp of when the target cooldown ends.

Link copied to clipboard
open override val timestamp: Instant

The Instant when the EventSub notification was sent, parsed from ISO-8601.

Link copied to clipboard

the user ID of the broadcaster receiving the shoutout.

Link copied to clipboard

the login of the broadcaster receiving the shoutout.

Link copied to clipboard

the display name of the broadcaster receiving the shoutout.

Link copied to clipboard

the number of viewers at the time of the shoutout.