Overview
Properties
totalBits
Type: number
Deprecated.
Use TwitchPrivateMessage#bits instead.
The number of bits cheered with the message.
userInfo
Type: ChatUser
Info about the user that send the message, like their user ID and their status in the current channel.
Methods
parseEmotes()
Parses the message, separating text from emote usages.
Return type: Array<
ParsedMessagePart
>Aliased type: ParsedMessageTextPart | ParsedMessageCheerPart | ParsedMessageEmotePart
parseEmotesAndBits(cheermotes)
Parses the message, separating text from emote usages and cheers.
Parameter | Type | Required | Default | Description |
---|---|---|---|---|
cheermotes | CheermoteList | none | A list of cheermotes |
Return type: Array<
ParsedMessagePart
>Aliased type: ParsedMessageTextPart | ParsedMessageCheerPart | ParsedMessageEmotePart