ChannelChatMessage
data class ChannelChatMessage(val subscriptionType: String, val messageId: String, val timestamp: Instant, val broadcasterUserId: String, val broadcasterUserLogin: String, val broadcasterUserName: String, val chatterUserId: String, val chatterUserLogin: String, val chatterUserName: String, val chatMessageId: String, val message: ChatMessage, val color: String, val badges: List<ChatBadge>, val messageType: ChatMessageType, val cheer: ChatCheer?, val reply: ChatReply?, val channelPointsCustomRewardId: String?) : TwitchEvent
Constructors
Link copied to clipboard
constructor(subscriptionType: String, messageId: String, timestamp: Instant, broadcasterUserId: String, broadcasterUserLogin: String, broadcasterUserName: String, chatterUserId: String, chatterUserLogin: String, chatterUserName: String, chatMessageId: String, message: ChatMessage, color: String, badges: List<ChatBadge>, messageType: ChatMessageType, cheer: ChatCheer?, reply: ChatReply?, channelPointsCustomRewardId: String?)
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 ID of a channel points custom reward that was redeemed; null if not a reward redemption.
Link copied to clipboard
a UUID that identifies the message.
Link copied to clipboard
the user ID of the user that sent the message.
Link copied to clipboard
the user login of the user that sent the message.
Link copied to clipboard
the user display name of the user that sent the message.
Link copied to clipboard
the structured chat message, containing text and fragments.
Link copied to clipboard
the type of message.
Link copied to clipboard
The EventSub subscription type string (e.g. channel.follow).