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

Class representing a received whisper from TwitchWhisperClient More...

Inheritance diagram for TwitchLib.Client.Models.WhisperMessage:
TwitchLib.Client.Models.TwitchLibMessage

Public Member Functions

 WhisperMessage (List< KeyValuePair< string, string > > badges, string colorHex, Color color, string username, string displayName, EmoteSet emoteSet, string threadId, string messageId, string userId, bool isTurbo, string botUsername, string message, UserType userType)
 
 WhisperMessage (IrcMessage ircMessage, string botUsername)
 WhisperMessage constructor. More...
 

Properties

string MessageId [get]
 Property representing message identifier. More...
 
string ThreadId [get]
 Property representing identifier of the message thread. More...
 
string Message [get]
 Property representing identifier of the message thread. More...
 
- Properties inherited from TwitchLib.Client.Models.TwitchLibMessage
List< KeyValuePair< string, string > > Badges [get, protected set]
 List of key-value pair badges. More...
 
string BotUsername [get, protected set]
 Twitch username of the bot that received the message. More...
 
Color Color [get, protected set]
 Property representing HEX color as a System.Drawing.Color object. More...
 
string ColorHex [get, protected set]
 Hex representation of username color in chat (THIS CAN BE NULL IF VIEWER HASN'T SET COLOR). More...
 
string DisplayName [get, protected set]
 Case-sensitive username of sender of chat message. More...
 
EmoteSet EmoteSet [get, protected set]
 Emote Ids that exist in message. More...
 
bool IsTurbo [get, protected set]
 Twitch site-wide turbo status. More...
 
string UserId [get, protected set]
 Twitch-unique integer assigned on per account basis. More...
 
string Username [get, protected set]
 Username of sender of chat message. More...
 
UserType UserType [get, protected set]
 User type can be viewer, moderator, global mod, admin, or staff More...
 
string RawIrcMessage [get, protected set]
 Raw IRC-style text received from Twitch. More...
 

Detailed Description

Class representing a received whisper from TwitchWhisperClient

Constructor & Destructor Documentation

◆ WhisperMessage() [1/2]

TwitchLib.Client.Models.WhisperMessage.WhisperMessage ( List< KeyValuePair< string, string > >  badges,
string  colorHex,
Color  color,
string  username,
string  displayName,
EmoteSet  emoteSet,
string  threadId,
string  messageId,
string  userId,
bool  isTurbo,
string  botUsername,
string  message,
UserType  userType 
)

◆ WhisperMessage() [2/2]

TwitchLib.Client.Models.WhisperMessage.WhisperMessage ( IrcMessage  ircMessage,
string  botUsername 
)

WhisperMessage constructor.

Parameters
ircMessageReceived IRC string from Twitch server.
botUsernameActive bot username receiving message.

Property Documentation

◆ Message

string TwitchLib.Client.Models.WhisperMessage.Message
get

Property representing identifier of the message thread.

◆ MessageId

string TwitchLib.Client.Models.WhisperMessage.MessageId
get

Property representing message identifier.

◆ ThreadId

string TwitchLib.Client.Models.WhisperMessage.ThreadId
get

Property representing identifier of the message thread.


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