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

Class representing a channel state as received from Twitch chat. More...

Public Member Functions

 ChannelState (IrcMessage ircMessage)
 ChannelState object constructor. More...
 
 ChannelState (bool r9k, bool rituals, bool subonly, int slowMode, bool emoteOnly, string broadcasterLanguage, string channel, TimeSpan followersOnly, bool mercury, string roomId)
 

Properties

string BroadcasterLanguage [get]
 Property representing the current broadcaster language. More...
 
string Channel [get]
 Property representing the current channel. More...
 
bool? EmoteOnly [get]
 Property representing whether EmoteOnly mode is being applied to chat or not. WILL BE NULL IF VALUE NOT PRESENT. More...
 
TimeSpan? FollowersOnly = null [get]
 Property representing how long needed to be following to talk. If null, FollowersOnly is not enabled. More...
 
bool Mercury [get]
 Property representing mercury value. Not sure what it's for. More...
 
bool? R9K [get]
 Property representing whether R9K is being applied to chat or not. WILL BE NULL IF VALUE NOT PRESENT. More...
 
bool? Rituals [get]
 Property representing whether Rituals is enabled or not. WILL BE NULL IF VALUE NOT PRESENT. More...
 
string RoomId [get]
 Twitch assigned room id More...
 
int? SlowMode [get]
 Property representing whether Slow mode is being applied to chat or not. WILL BE NULL IF VALUE NOT PRESENT. More...
 
bool? SubOnly [get]
 Property representing whether Sub Mode is being applied to chat or not. WILL BE NULL IF VALUE NOT PRESENT. More...
 

Detailed Description

Class representing a channel state as received from Twitch chat.

Constructor & Destructor Documentation

◆ ChannelState() [1/2]

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

ChannelState object constructor.

◆ ChannelState() [2/2]

TwitchLib.Client.Models.ChannelState.ChannelState ( bool  r9k,
bool  rituals,
bool  subonly,
int  slowMode,
bool  emoteOnly,
string  broadcasterLanguage,
string  channel,
TimeSpan  followersOnly,
bool  mercury,
string  roomId 
)

Property Documentation

◆ BroadcasterLanguage

string TwitchLib.Client.Models.ChannelState.BroadcasterLanguage
get

Property representing the current broadcaster language.

◆ Channel

string TwitchLib.Client.Models.ChannelState.Channel
get

Property representing the current channel.

◆ EmoteOnly

bool? TwitchLib.Client.Models.ChannelState.EmoteOnly
get

Property representing whether EmoteOnly mode is being applied to chat or not. WILL BE NULL IF VALUE NOT PRESENT.

◆ FollowersOnly

TimeSpan? TwitchLib.Client.Models.ChannelState.FollowersOnly = null
get

Property representing how long needed to be following to talk. If null, FollowersOnly is not enabled.

◆ Mercury

bool TwitchLib.Client.Models.ChannelState.Mercury
get

Property representing mercury value. Not sure what it's for.

◆ R9K

bool? TwitchLib.Client.Models.ChannelState.R9K
get

Property representing whether R9K is being applied to chat or not. WILL BE NULL IF VALUE NOT PRESENT.

◆ Rituals

bool? TwitchLib.Client.Models.ChannelState.Rituals
get

Property representing whether Rituals is enabled or not. WILL BE NULL IF VALUE NOT PRESENT.

◆ RoomId

string TwitchLib.Client.Models.ChannelState.RoomId
get

Twitch assigned room id

◆ SlowMode

int? TwitchLib.Client.Models.ChannelState.SlowMode
get

Property representing whether Slow mode is being applied to chat or not. WILL BE NULL IF VALUE NOT PRESENT.

◆ SubOnly

bool? TwitchLib.Client.Models.ChannelState.SubOnly
get

Property representing whether Sub Mode is being applied to chat or not. WILL BE NULL IF VALUE NOT PRESENT.


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