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
new GlobaluserstateMessage()
new GlobaluserstateMessage(
message
):GlobaluserstateMessage
Defined in: src/message/twitch-types/globaluserstate.ts:38
Parameters
message
Returns
Overrides
Properties
badgeInfo
readonly
badgeInfo:TwitchBadgesList
Defined in: src/message/twitch-types/globaluserstate.ts:27
Implementation of
badgeInfoRaw
readonly
badgeInfoRaw:string
Defined in: src/message/twitch-types/globaluserstate.ts:28
Implementation of
badges
readonly
badges:TwitchBadgesList
Defined in: src/message/twitch-types/globaluserstate.ts:29
Implementation of
badgesRaw
readonly
badgesRaw:string
Defined in: src/message/twitch-types/globaluserstate.ts:30
Implementation of
color
readonly
color:undefined
|Color
Defined in: src/message/twitch-types/globaluserstate.ts:31
Implementation of
colorRaw
readonly
colorRaw:string
Defined in: src/message/twitch-types/globaluserstate.ts:32
Implementation of
displayName
readonly
displayName:string
Defined in: src/message/twitch-types/globaluserstate.ts:33
Implementation of
emoteSets
readonly
emoteSets:TwitchEmoteSets
Defined in: src/message/twitch-types/globaluserstate.ts:34
Implementation of
emoteSetsRaw
readonly
emoteSetsRaw:string
Defined in: src/message/twitch-types/globaluserstate.ts:35
Implementation of
ircCommand
readonly
ircCommand:string
Defined in: src/message/irc/irc-message.ts:28
The parser ensures this is always uppercase
Inherited from
ircParameters
readonly
ircParameters:string
[]
Defined in: src/message/irc/irc-message.ts:29
Inherited from
ircPrefix
readonly
ircPrefix:undefined
|IRCMessagePrefix
Defined in: src/message/irc/irc-message.ts:23
Inherited from
ircPrefixRaw
readonly
ircPrefixRaw:undefined
|string
Defined in: src/message/irc/irc-message.ts:22
Inherited from
ircTags
readonly
ircTags:IRCMessageTags
Defined in: src/message/irc/irc-message.ts:30
Inherited from
rawSource
readonly
rawSource:string
Defined in: src/message/irc/irc-message.ts:20
Inherited from
userID
readonly
userID:string
Defined in: src/message/twitch-types/globaluserstate.ts:36
Implementation of
Methods
extractGlobalUserState()
extractGlobalUserState():
GlobalUserState
Defined in: src/message/twitch-types/globaluserstate.ts:59
Extracts a plain object only containing the fields defined by the GlobalUserState interface.