Twurple
Authentication
Getting data
Examples
FAQ
Migration
Reference
api
api-call
auth
auth-tmi
chat
common
easy-bot
ebs-helper
eventsub-base
eventsub-http
eventsub-ws
pubsub
Classes
ChatClient
ChatMessage
ChatUser
Functions
buildEmoteImageUrl
extractMessageText
fillTextPositions
findCheermotePositions
parseChatMessage
parseEmoteOffsets
parseEmotePositions
parseTwitchMessage
toChannelName
toUserName
Interfaces
ChatAnnouncementInfo
ChatBitsBadgeUpgradeInfo
ChatClientOptions
ChatCommunityPayForwardInfo
ChatCommunitySubInfo
ChatPrimeCommunityGiftInfo
ChatRaidInfo
ChatRewardGiftInfo
ChatRitualInfo
ChatSayMessageAttributes
ChatStandardPayForwardInfo
ChatSubExtendInfo
ChatSubGiftInfo
ChatSubGiftUpgradeInfo
ChatSubInfo
ChatSubOriginalGiftInfo
ChatSubUpgradeInfo
ClearChat
ClearMsg
EmoteSettings
ParsedMessageCheerPart
ParsedMessageEmotePart
ParsedMessageTextPart
RoomState
UserNotice
Type aliases
EmoteAnimationSettings
EmoteBackgroundType
EmoteSize
ParsedMessagePart
TwitchBotLevel
parseTwitchMessage
Definition
parseTwitchMessage(rawLine)
Parses a raw message from Twitch into a message object.
Parameter
Type
Required
Default
Description
rawLine
string
none
The raw message line.
Return type:
Message<object>