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

Object representing a command received via Twitch chat. More...

Public Member Functions

 WhisperCommand (WhisperMessage whisperMessage)
 ChatCommand constructor. More...
 
 WhisperCommand (WhisperMessage whisperMessage, string commandText, string argumentsAsString, List< string > argumentsAsList, char commandIdentifier)
 

Properties

List< string > ArgumentsAsList [get]
 Property representing all arguments received in a List form. More...
 
string ArgumentsAsString [get]
 Property representing all arguments received in a string form. More...
 
char CommandIdentifier [get]
 Property representing the command identifier (ie command prefix). More...
 
string CommandText [get]
 Property representing the actual command (without the command prefix). More...
 
WhisperMessage WhisperMessage [get]
 Property representing the chat message that the command came in. More...
 

Detailed Description

Object representing a command received via Twitch chat.

Constructor & Destructor Documentation

◆ WhisperCommand() [1/2]

TwitchLib.Client.Models.WhisperCommand.WhisperCommand ( WhisperMessage  whisperMessage)

ChatCommand constructor.

Parameters
whisperMessage

◆ WhisperCommand() [2/2]

TwitchLib.Client.Models.WhisperCommand.WhisperCommand ( WhisperMessage  whisperMessage,
string  commandText,
string  argumentsAsString,
List< string >  argumentsAsList,
char  commandIdentifier 
)

Property Documentation

◆ ArgumentsAsList

List<string> TwitchLib.Client.Models.WhisperCommand.ArgumentsAsList
get

Property representing all arguments received in a List form.

◆ ArgumentsAsString

string TwitchLib.Client.Models.WhisperCommand.ArgumentsAsString
get

Property representing all arguments received in a string form.

◆ CommandIdentifier

char TwitchLib.Client.Models.WhisperCommand.CommandIdentifier
get

Property representing the command identifier (ie command prefix).

◆ CommandText

string TwitchLib.Client.Models.WhisperCommand.CommandText
get

Property representing the actual command (without the command prefix).

◆ WhisperMessage

WhisperMessage TwitchLib.Client.Models.WhisperCommand.WhisperMessage
get

Property representing the chat message that the command came in.


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