ChannelCheer

data class ChannelCheer(val subscriptionType: String, val messageId: String, val timestamp: Instant, val isAnonymous: Boolean, val userId: String?, val userLogin: String?, val userName: String?, val broadcasterUserId: String, val broadcasterUserLogin: String, val broadcasterUserName: String, val message: String, val bits: Int) : TwitchEvent

Twitch EventSub: channel.cheer

Constructors

Link copied to clipboard
constructor(subscriptionType: String, messageId: String, timestamp: Instant, isAnonymous: Boolean, userId: String?, userLogin: String?, userName: String?, broadcasterUserId: String, broadcasterUserLogin: String, broadcasterUserName: String, message: String, bits: Int)

Properties

Link copied to clipboard
val bits: Int

the number of Bits cheered.

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

whether the cheer was anonymous.

Link copied to clipboard

the chat message sent with the cheer.

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 user ID of the user who cheered; null if anonymous.

Link copied to clipboard

the login of the user who cheered; null if anonymous.

Link copied to clipboard

the display name of the user who cheered; null if anonymous.