ChannelSharedChatUpdate

data class ChannelSharedChatUpdate(val subscriptionType: String, val messageId: String, val timestamp: Instant, val sessionId: String, val broadcasterUserId: String, val broadcasterUserLogin: String, val broadcasterUserName: String, val hostBroadcasterUserId: String, val hostBroadcasterUserLogin: String, val hostBroadcasterUserName: String, val participants: List<SharedChatParticipant>) : TwitchEvent

Twitch EventSub: channel.shared_chat.update

Constructors

Link copied to clipboard
constructor(subscriptionType: String, messageId: String, timestamp: Instant, sessionId: String, broadcasterUserId: String, broadcasterUserLogin: String, broadcasterUserName: String, hostBroadcasterUserId: String, hostBroadcasterUserLogin: String, hostBroadcasterUserName: String, participants: List<SharedChatParticipant>)

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

the user ID of the host broadcaster.

Link copied to clipboard

the login of the host broadcaster.

Link copied to clipboard

the display name of the host broadcaster.

Link copied to clipboard
open override val messageId: String

Unique ID for this EventSub message.

Link copied to clipboard

the updated list of participants in the shared chat session.

Link copied to clipboard

the unique ID of the shared chat session.

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.