UserAuthorizationGrant

data class UserAuthorizationGrant(val subscriptionType: String, val messageId: String, val timestamp: Instant, val clientId: String, val userId: String, val userLogin: String, val userName: String) : TwitchEvent

Twitch EventSub: user.authorization.grant

Constructors

Link copied to clipboard
constructor(subscriptionType: String, messageId: String, timestamp: Instant, clientId: String, userId: String, userLogin: String, userName: String)

Properties

Link copied to clipboard

the client ID of the application that was granted authorization.

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 granted authorization.

Link copied to clipboard

the login of the user who granted authorization.

Link copied to clipboard

the display name of the user who granted authorization.