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

#include <chattypes.h>

Classes

struct  Flags
 

Public Member Functions

 MessageInfo ()
 
 MessageInfo (const MessageInfo &src)
 
MessageInfooperator= (const MessageInfo &src)
 

Public Attributes

std::string userName
 The UTF-8 encoded user name. More...
 
std::string displayName
 The UTF-8 encoded displayed name. More...
 
std::vector< std::unique_ptr< MessageToken > > tokens
 The array of message tokens. More...
 
std::vector< MessageBadgebadges
 The array of badges. More...
 
UserMode userMode
 The modes of the user who sent the message. More...
 
Flags flags
 Any additional details about the message. More...
 
Color nameColorARGB
 The current ARGB color of the user's name text. More...
 
Timestamp timestamp
 The time the message was originally received. More...
 
UserId userId
 The unique user id. More...
 
uint32_t numBitsSent
 The total number of bits sent via this message. More...
 

Detailed Description

Message struct that contains common state shared by all message types. Used by LiveChatMessage, WhisperMessage, and ReplayMessage.

Constructor & Destructor Documentation

◆ MessageInfo() [1/2]

ttv::chat::MessageInfo::MessageInfo ( )

◆ MessageInfo() [2/2]

ttv::chat::MessageInfo::MessageInfo ( const MessageInfo src)

Member Function Documentation

◆ operator=()

MessageInfo& ttv::chat::MessageInfo::operator= ( const MessageInfo src)

Member Data Documentation

◆ badges

std::vector<MessageBadge> ttv::chat::MessageInfo::badges

The array of badges.

◆ displayName

std::string ttv::chat::MessageInfo::displayName

The UTF-8 encoded displayed name.

◆ flags

Flags ttv::chat::MessageInfo::flags

Any additional details about the message.

◆ nameColorARGB

Color ttv::chat::MessageInfo::nameColorARGB

The current ARGB color of the user's name text.

◆ numBitsSent

uint32_t ttv::chat::MessageInfo::numBitsSent

The total number of bits sent via this message.

◆ timestamp

Timestamp ttv::chat::MessageInfo::timestamp

The time the message was originally received.

◆ tokens

std::vector<std::unique_ptr<MessageToken> > ttv::chat::MessageInfo::tokens

The array of message tokens.

◆ userId

UserId ttv::chat::MessageInfo::userId

The unique user id.

◆ userMode

UserMode ttv::chat::MessageInfo::userMode

The modes of the user who sent the message.

◆ userName

std::string ttv::chat::MessageInfo::userName

The UTF-8 encoded user name.


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