C# Class TwitchLib.Models.Client.ChatMessage

Class represents ChatMessage in a Twitch channel.
Mostra file Open project: swiftyspiffy/TwitchLib Class Usage Examples

Public Methods

Method Description
ChatMessage ( string>.List badges, string channel, string colorHex, string displayName, string emoteSet, bool moderator, bool subscriber, System.Enums userType, string message ) : System
ChatMessage ( string botUsername, string ircString, MessageEmoteCollection &emoteCollection, bool replaceEmotes = false ) : System

Constructor for ChatMessage object.

Private Methods

Method Description
ConvertBitsToUSD ( int bits ) : double
ConvertToBool ( string data ) : bool

Method Details

ChatMessage() public method

public ChatMessage ( string>.List badges, string channel, string colorHex, string displayName, string emoteSet, bool moderator, bool subscriber, System.Enums userType, string message ) : System
badges string>.List
channel string
colorHex string
displayName string
emoteSet string
moderator bool
subscriber bool
userType System.Enums
message string
return System

ChatMessage() public method

Constructor for ChatMessage object.
public ChatMessage ( string botUsername, string ircString, MessageEmoteCollection &emoteCollection, bool replaceEmotes = false ) : System
botUsername string The username of the bot that received the message.
ircString string The raw string received from Twitch to be processed.
emoteCollection MessageEmoteCollection The to register new emotes on and, if desired, use for emote replacement.
replaceEmotes bool Whether to replace emotes for this chat message. Defaults to false.
return System