ChannelBitsUse

data class ChannelBitsUse(val subscriptionType: String, val messageId: String, val timestamp: Instant, val broadcasterUserId: String, val broadcasterUserLogin: String, val broadcasterUserName: String, val userId: String, val userLogin: String, val userName: String, val bits: Int, val type: BitsUseType, val powerUp: PowerUp?, val message: ChatMessage?) : TwitchEvent

Twitch EventSub: channel.bits.use

Constructors

Link copied to clipboard
constructor(subscriptionType: String, messageId: String, timestamp: Instant, broadcasterUserId: String, broadcasterUserLogin: String, broadcasterUserName: String, userId: String, userLogin: String, userName: String, bits: Int, type: BitsUseType, powerUp: PowerUp?, message: ChatMessage?)

Properties

Link copied to clipboard
val bits: Int

the number of Bits used.

Link copied to clipboard

the user ID of the channel where the Bits were used.

Link copied to clipboard

the login of the channel where the Bits were used.

Link copied to clipboard

the display name of the channel where the Bits were used.

Link copied to clipboard

the user message with text and fragments.

Link copied to clipboard
open override val messageId: String

Unique ID for this EventSub message.

Link copied to clipboard

Power-up details if type is BitsUseType.POWER_UP; null otherwise.

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 type of Bits use.

Link copied to clipboard

the user ID of the user who used Bits.

Link copied to clipboard

the login name of the user who used Bits.

Link copied to clipboard

the display name of the user who used Bits.