Appearance
@mastondzn/dank-twitch-irc / GlobaluserstateMessage
Class: GlobaluserstateMessage
Defined in: src/message/twitch-types/globaluserstate.ts:23
Global state of the logged in user.
Extends
Implements
Constructors
Constructor
new GlobaluserstateMessage(
message):GlobaluserstateMessage
Defined in: src/message/twitch-types/globaluserstate.ts:43
Parameters
message
Returns
GlobaluserstateMessage
Overrides
Properties
badgeInfo
readonlybadgeInfo:TwitchBadgesList
Defined in: src/message/twitch-types/globaluserstate.ts:27
Implementation of
badgeInfoRaw
readonlybadgeInfoRaw:string
Defined in: src/message/twitch-types/globaluserstate.ts:28
Implementation of
badges
readonlybadges:TwitchBadgesList
Defined in: src/message/twitch-types/globaluserstate.ts:29
Implementation of
badgesRaw
readonlybadgesRaw:string
Defined in: src/message/twitch-types/globaluserstate.ts:30
Implementation of
color
readonlycolor:Color|undefined
Defined in: src/message/twitch-types/globaluserstate.ts:31
Implementation of
colorRaw
readonlycolorRaw:string
Defined in: src/message/twitch-types/globaluserstate.ts:32
Implementation of
displayName
readonlydisplayName:string
Defined in: src/message/twitch-types/globaluserstate.ts:33
Implementation of
emoteSets
readonlyemoteSets:TwitchEmoteSets
Defined in: src/message/twitch-types/globaluserstate.ts:34
Implementation of
emoteSetsRaw
readonlyemoteSetsRaw:string
Defined in: src/message/twitch-types/globaluserstate.ts:35
Implementation of
ircCommand
readonlyircCommand:string
Defined in: src/message/irc/irc-message.ts:28
The parser ensures this is always uppercase
Inherited from
ircParameters
readonlyircParameters:string[]
Defined in: src/message/irc/irc-message.ts:29
Inherited from
ircPrefix
readonlyircPrefix:IRCMessagePrefix|undefined
Defined in: src/message/irc/irc-message.ts:23
Inherited from
ircPrefixRaw
readonlyircPrefixRaw:string|undefined
Defined in: src/message/irc/irc-message.ts:22
Inherited from
ircTags
readonlyircTags:IRCMessageTags
Defined in: src/message/irc/irc-message.ts:30
Inherited from
rawSource
readonlyrawSource:string
Defined in: src/message/irc/irc-message.ts:20
Inherited from
userID
readonlyuserID:string
Defined in: src/message/twitch-types/globaluserstate.ts:36
Implementation of
Accessors
userId
Get Signature
get userId():
string
Defined in: src/message/twitch-types/globaluserstate.ts:39
Deprecated
Use userID instead.
Returns
string
Methods
extractGlobalUserState()
extractGlobalUserState():
GlobalUserState
Defined in: src/message/twitch-types/globaluserstate.ts:64
Extracts a plain object only containing the fields defined by the GlobalUserState interface.