TwitchLib.Client  3.0.3
The Client component of TwitchLib.
Namespaces | Classes | Enumerations
TwitchLib.Client.Enums Namespace Reference

Namespaces

namespace  Internal
 

Classes

class  StringEnum
 Really cool way of doing string enums, credits to RogueException (https://github.com/RogueException) More...
 

Enumerations

enum  BadgeColor {
  BadgeColor.Red = 10000, BadgeColor.Blue = 5000, BadgeColor.Green = 1000, BadgeColor.Purple = 100,
  BadgeColor.Gray = 1
}
 Color enum representing color based on cheer amount. More...
 
enum  ChatColorPresets {
  ChatColorPresets.Blue, ChatColorPresets.Coral, ChatColorPresets.DodgerBlue, ChatColorPresets.SpringGreen,
  ChatColorPresets.YellowGreen, ChatColorPresets.Green, ChatColorPresets.OrangeRed, ChatColorPresets.Red,
  ChatColorPresets.GoldenRod, ChatColorPresets.HotPink, ChatColorPresets.CadetBlue, ChatColorPresets.SeaGreen,
  ChatColorPresets.Chocolate, ChatColorPresets.BlueViolet, ChatColorPresets.Firebrick
}
 Enum representing the available chat name color presets. More...
 
enum  ClientProtocol { ClientProtocol.TCP, ClientProtocol.WebSocket }
 
enum  CommercialLength {
  CommercialLength.Seconds30 = 30, CommercialLength.Seconds60 = 60, CommercialLength.Seconds90 = 90, CommercialLength.Seconds120 = 120,
  CommercialLength.Seconds150 = 150, CommercialLength.Seconds180 = 180
}
 A list of valid commercial lengths. More...
 
enum  Noisy { Noisy.NotSet, Noisy.True, Noisy.False }
 
enum  SendReceiveDirection { SendReceiveDirection.Sent, SendReceiveDirection.Received }
 Enum to show which direction the message was detected from. More...
 
enum  SubscriptionPlan {
  SubscriptionPlan.NotSet, SubscriptionPlan.Prime, SubscriptionPlan.Tier1, SubscriptionPlan.Tier2,
  SubscriptionPlan.Tier3
}
 
enum  ThrottleType { ThrottleType.MessageTooShort = 0, ThrottleType.MessageTooLong = 1 }
 Enum representing the available throttle types. More...
 
enum  UserType : byte {
  UserType.Viewer, UserType.Moderator, UserType.GlobalModerator, UserType.Broadcaster,
  UserType.Admin, UserType.Staff
}
 Enum representing various user-types. More...
 

Enumeration Type Documentation

◆ BadgeColor

Color enum representing color based on cheer amount.

Enumerator
Red 

Red = 10000+

Blue 

Blue = 5000 -> 9999

Green 

Green = 1000 -> 4999

Purple 

Purple = 100 -> 999

Gray 

Gray = 1 -> 99

◆ ChatColorPresets

Enum representing the available chat name color presets.

Enumerator
Blue 

Chat color name.

Coral 

Chat color name.

DodgerBlue 

Chat color name.

SpringGreen 

Chat color name.

YellowGreen 

Chat color name.

Green 

Chat color name.

OrangeRed 

Chat color name.

Red 

Chat color name.

GoldenRod 

Chat color name.

HotPink 

Chat color name.

CadetBlue 

Chat color name.

SeaGreen 

Chat color name.

Chocolate 

Chat color name.

BlueViolet 

Chat color name.

Firebrick 

Chat color name.

◆ ClientProtocol

Enumerator
TCP 
WebSocket 

◆ CommercialLength

A list of valid commercial lengths.

Enumerator
Seconds30 

30 second commercial

Seconds60 

60 second commercial

Seconds90 

90 second commercial

Seconds120 

120 second commercial

Seconds150 

150 second commercial

Seconds180 

180 second commercial

◆ Noisy

Enumerator
NotSet 
True 
False 

◆ SendReceiveDirection

Enum to show which direction the message was detected from.

Enumerator
Sent 

Used for logging, direction of data.

Received 

Used for logging, direction of data.

◆ SubscriptionPlan

Enumerator
NotSet 
Prime 
Tier1 
Tier2 
Tier3 

◆ ThrottleType

Enum representing the available throttle types.

Enumerator
MessageTooShort 

Throttle based on message being too short.

MessageTooLong 

Throttle based on message being too long.

◆ UserType

enum TwitchLib.Client.Enums.UserType : byte
strong

Enum representing various user-types.

Enumerator
Viewer 

The standard user-type representing a standard viewer.

Moderator 

User-type representing viewers with channel-specific moderation powers.

GlobalModerator 

User-type representing viewers with Twitch-wide moderation powers.

Broadcaster 

User-type representing the broadcaster of the channel

Admin 

User-type representing viewers with Twitch-wide moderation powers that are paid.

Staff 

User-type representing viewers that are Twitch employees.