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

Class used to store credentials used to connect to Twitch chat/whisper. More...

Public Member Functions

 ConnectionCredentials (string twitchUsername, string twitchOAuth, string twitchWebsocketURI=DefaultWebSocketUri, bool disableUsernameCheck=false, Capabilities capabilities=null)
 Constructor for ConnectionCredentials object. More...
 

Static Public Attributes

const string DefaultWebSocketUri = "wss://irc-ws.chat.twitch.tv:443"
 

Properties

string TwitchWebsocketURI [get]
 Property representing URI used to connect to Twitch websocket service. More...
 
string TwitchOAuth [get]
 Property representing bot's oauth. More...
 
string TwitchUsername [get]
 Property representing bot's username. More...
 
Capabilities Capabilities [get]
 Property representing capability requests sent to twitch. More...
 

Detailed Description

Class used to store credentials used to connect to Twitch chat/whisper.

Constructor & Destructor Documentation

◆ ConnectionCredentials()

TwitchLib.Client.Models.ConnectionCredentials.ConnectionCredentials ( string  twitchUsername,
string  twitchOAuth,
string  twitchWebsocketURI = DefaultWebSocketUri,
bool  disableUsernameCheck = false,
Capabilities  capabilities = null 
)

Constructor for ConnectionCredentials object.

Member Data Documentation

◆ DefaultWebSocketUri

const string TwitchLib.Client.Models.ConnectionCredentials.DefaultWebSocketUri = "wss://irc-ws.chat.twitch.tv:443"
static

Property Documentation

◆ Capabilities

Capabilities TwitchLib.Client.Models.ConnectionCredentials.Capabilities
get

Property representing capability requests sent to twitch.

◆ TwitchOAuth

string TwitchLib.Client.Models.ConnectionCredentials.TwitchOAuth
get

Property representing bot's oauth.

◆ TwitchUsername

string TwitchLib.Client.Models.ConnectionCredentials.TwitchUsername
get

Property representing bot's username.

◆ TwitchWebsocketURI

string TwitchLib.Client.Models.ConnectionCredentials.TwitchWebsocketURI
get

Property representing URI used to connect to Twitch websocket service.


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