C# Class TwitchLib.Models.Client.ChatMessage

Class represents ChatMessage in a Twitch channel.
Afficher le fichier Open project: swiftyspiffy/TwitchLib Class Usage Examples

Méthodes publiques

Méthode 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

Méthode Description
ConvertBitsToUSD ( int bits ) : double
ConvertToBool ( string data ) : bool

Method Details

ChatMessage() public méthode

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
Résultat System

ChatMessage() public méthode

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.
Résultat System