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

Object representing an emote in an EmoteSet in a chat message. More...

Public Member Functions

 Emote (string emoteId, string name, int emoteStartIndex, int emoteEndIndex)
 Emote constructor. More...
 

Properties

string Id [get]
 Twitch-assigned emote Id. More...
 
string Name [get]
 The name of the emote. For example, if the message was "This is Kappa test.", the name would be 'Kappa'. More...
 
int StartIndex [get]
 Character starting index. For example, if the message was "This is Kappa test.", the start index would be 8 for 'Kappa'. More...
 
int EndIndex [get]
 Character ending index. For example, if the message was "This is Kappa test.", the start index would be 12 for 'Kappa'. More...
 
string ImageUrl [get]
 URL to Twitch hosted emote image. More...
 

Detailed Description

Object representing an emote in an EmoteSet in a chat message.

Constructor & Destructor Documentation

◆ Emote()

TwitchLib.Client.Models.Emote.Emote ( string  emoteId,
string  name,
int  emoteStartIndex,
int  emoteEndIndex 
)

Emote constructor.

Parameters
emoteId
name
emoteStartIndex
emoteEndIndex

Property Documentation

◆ EndIndex

int TwitchLib.Client.Models.Emote.EndIndex
get

Character ending index. For example, if the message was "This is Kappa test.", the start index would be 12 for 'Kappa'.

◆ Id

string TwitchLib.Client.Models.Emote.Id
get

Twitch-assigned emote Id.

◆ ImageUrl

string TwitchLib.Client.Models.Emote.ImageUrl
get

URL to Twitch hosted emote image.

◆ Name

string TwitchLib.Client.Models.Emote.Name
get

The name of the emote. For example, if the message was "This is Kappa test.", the name would be 'Kappa'.

◆ StartIndex

int TwitchLib.Client.Models.Emote.StartIndex
get

Character starting index. For example, if the message was "This is Kappa test.", the start index would be 8 for 'Kappa'.


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