C# Класс TwitchLib.Models.Client.ChatMessage

Class represents ChatMessage in a Twitch channel.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
ConvertBitsToUSD ( int bits ) : double
ConvertToBool ( string data ) : bool

Описание методов

ChatMessage() публичный Метод

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
Результат System

ChatMessage() публичный Метод

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.
Результат System