ChannelRaid

data class ChannelRaid(val subscriptionType: String, val messageId: String, val timestamp: Instant, val fromBroadcasterUserId: String, val fromBroadcasterUserLogin: String, val fromBroadcasterUserName: String, val toBroadcasterUserId: String, val toBroadcasterUserLogin: String, val toBroadcasterUserName: String, val viewers: Int) : TwitchEvent

Twitch EventSub: channel.raid

Constructors

Link copied to clipboard
constructor(subscriptionType: String, messageId: String, timestamp: Instant, fromBroadcasterUserId: String, fromBroadcasterUserLogin: String, fromBroadcasterUserName: String, toBroadcasterUserId: String, toBroadcasterUserLogin: String, toBroadcasterUserName: String, viewers: Int)

Properties

Link copied to clipboard

the broadcaster ID that created the raid.

Link copied to clipboard

the broadcaster login that created the raid.

Link copied to clipboard

the broadcaster display name that created the raid.

Link copied to clipboard
open override val messageId: String

Unique ID for this EventSub message.

Link copied to clipboard
open override val subscriptionType: String

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

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 broadcaster ID that received the raid.

Link copied to clipboard

the broadcaster login that received the raid.

Link copied to clipboard

the broadcaster display name that received the raid.

Link copied to clipboard

the number of viewers in the raid.