Twitch SDK (Internal)
Public Types | Public Member Functions | Public Attributes | List of all members
ttv::chat::TextToken Struct Reference

#include <chattypes.h>

Inheritance diagram for ttv::chat::TextToken:
ttv::Cloneable< MessageToken, TextToken > ttv::chat::MessageToken

Public Types

enum  Type {
  Type::Text, Type::Emoticon, Type::Mention, Type::Url,
  Type::Bits
}
 

Public Member Functions

 TextToken ()=default
 
 TextToken (const std::string &text)
 
virtual Type GetType () const override
 

Public Attributes

std::string text
 

Detailed Description

TextToken - Information about a text token.

Member Enumeration Documentation

◆ Type

enum ttv::chat::MessageToken::Type
stronginherited
Enumerator
Text 
Emoticon 
Mention 
Url 
Bits 

Constructor & Destructor Documentation

◆ TextToken() [1/2]

ttv::chat::TextToken::TextToken ( )
default

◆ TextToken() [2/2]

ttv::chat::TextToken::TextToken ( const std::string &  text)

Member Function Documentation

◆ GetType()

virtual Type ttv::chat::TextToken::GetType ( ) const
inlineoverridevirtual

Member Data Documentation

◆ text

std::string ttv::chat::TextToken::text

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