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

#include <chattypes.h>

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

Public Types

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

Public Member Functions

 UrlToken ()
 
 UrlToken (const std::string &url, bool hidden)
 
virtual Type GetType () const override
 

Public Attributes

std::string url
 The url. More...
 
bool hidden
 Whether or not the URL token should be hidden by the client. More...
 

Detailed Description

UrlToken - Information about a hyperlink.

Member Enumeration Documentation

◆ Type

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

Constructor & Destructor Documentation

◆ UrlToken() [1/2]

ttv::chat::UrlToken::UrlToken ( )

◆ UrlToken() [2/2]

ttv::chat::UrlToken::UrlToken ( const std::string &  url,
bool  hidden 
)

Member Function Documentation

◆ GetType()

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

Member Data Documentation

◆ hidden

bool ttv::chat::UrlToken::hidden

Whether or not the URL token should be hidden by the client.

◆ url

std::string ttv::chat::UrlToken::url

The url.


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