TwitchLib 3.5.3
Loading...
Searching...
No Matches
TwitchLib.Client.Models.UserState Class Reference

Class representing state of a specific user. More...

Public Member Functions

 UserState (IrcMessage ircMessage)
 Constructor for UserState. More...
 
 UserState (List< KeyValuePair< string, string > > badges, List< KeyValuePair< string, string > > badgeInfo, string colorHex, string displayName, string emoteSet, string channel, string id, bool isSubscriber, bool isModerator, UserType userType)
 

Properties

List< KeyValuePair< string, string > > Badges = new List<KeyValuePair<string, string>>() [get]
 Properrty representing the chat badges a specific user has. More...
 
List< KeyValuePair< string, string > > BadgeInfo = new List<KeyValuePair<string, string>>() [get]
 Metadata associated badgest More...
 
string Channel [get]
 Property representing channel. More...
 
string ColorHex [get]
 Properrty representing HEX user's name. More...
 
string DisplayName [get]
 Property representing user's display name. More...
 
string EmoteSet [get]
 Property representing emote sets available to user. More...
 
string Id [get]
 Property representing the user's Id. More...
 
bool IsModerator [get]
 Property representing Turbo status. More...
 
bool IsSubscriber [get]
 Property representing subscriber status. More...
 
UserType UserType [get]
 Property representing returned user type of user. More...
 

Detailed Description

Class representing state of a specific user.

Constructor & Destructor Documentation

◆ UserState() [1/2]

TwitchLib.Client.Models.UserState.UserState ( IrcMessage  ircMessage)

Constructor for UserState.

Parameters
ircMessage

◆ UserState() [2/2]

TwitchLib.Client.Models.UserState.UserState ( List< KeyValuePair< string, string > >  badges,
List< KeyValuePair< string, string > >  badgeInfo,
string  colorHex,
string  displayName,
string  emoteSet,
string  channel,
string  id,
bool  isSubscriber,
bool  isModerator,
UserType  userType 
)

Property Documentation

◆ BadgeInfo

List<KeyValuePair<string, string> > TwitchLib.Client.Models.UserState.BadgeInfo = new List<KeyValuePair<string, string>>()
get

Metadata associated badgest

◆ Badges

List<KeyValuePair<string, string> > TwitchLib.Client.Models.UserState.Badges = new List<KeyValuePair<string, string>>()
get

Properrty representing the chat badges a specific user has.

◆ Channel

string TwitchLib.Client.Models.UserState.Channel
get

Property representing channel.

◆ ColorHex

string TwitchLib.Client.Models.UserState.ColorHex
get

Properrty representing HEX user's name.

◆ DisplayName

string TwitchLib.Client.Models.UserState.DisplayName
get

Property representing user's display name.

◆ EmoteSet

string TwitchLib.Client.Models.UserState.EmoteSet
get

Property representing emote sets available to user.

◆ Id

string TwitchLib.Client.Models.UserState.Id
get

Property representing the user's Id.

◆ IsModerator

bool TwitchLib.Client.Models.UserState.IsModerator
get

Property representing Turbo status.

◆ IsSubscriber

bool TwitchLib.Client.Models.UserState.IsSubscriber
get

Property representing subscriber status.

◆ UserType

UserType TwitchLib.Client.Models.UserState.UserType
get

Property representing returned user type of user.


The documentation for this class was generated from the following file: