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

#include <chattypes.h>

Public Member Functions

 ThreadData ()
 
 ThreadData (const ThreadData &src)
 
ThreadDataoperator= (const ThreadData &src)
 

Public Attributes

std::string threadId
 The unique thread id. More...
 
std::vector< ChatUserInfoparticipants
 The list of participants. More...
 
std::unique_ptr< WhisperMessagelastMessage
 This might be null if the thread hasn't had any activity yet. More...
 
MessageId lastMessageId
 The last message id obtained from the backed. This could be ahead of what is stored locally. More...
 
MessageId lastReadMessageId
 The id of the last read message. More...
 
Timestamp lastUpdatedTimestamp
 Unix timestamp for the last time the thread was updated on the server. More...
 
Timestamp lastFetchedTimestamp
 Unix timestamp for the last time the thread was fetched from the server. More...
 
uint32_t numUnreadMessages
 
bool archived
 
bool muted
 

Detailed Description

ThreadData - Information about a conversation from the perspective of the owning user.

Constructor & Destructor Documentation

◆ ThreadData() [1/2]

ttv::chat::ThreadData::ThreadData ( )

◆ ThreadData() [2/2]

ttv::chat::ThreadData::ThreadData ( const ThreadData src)

Member Function Documentation

◆ operator=()

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

Member Data Documentation

◆ archived

bool ttv::chat::ThreadData::archived

◆ lastFetchedTimestamp

Timestamp ttv::chat::ThreadData::lastFetchedTimestamp

Unix timestamp for the last time the thread was fetched from the server.

◆ lastMessage

std::unique_ptr<WhisperMessage> ttv::chat::ThreadData::lastMessage

This might be null if the thread hasn't had any activity yet.

◆ lastMessageId

MessageId ttv::chat::ThreadData::lastMessageId

The last message id obtained from the backed. This could be ahead of what is stored locally.

◆ lastReadMessageId

MessageId ttv::chat::ThreadData::lastReadMessageId

The id of the last read message.

◆ lastUpdatedTimestamp

Timestamp ttv::chat::ThreadData::lastUpdatedTimestamp

Unix timestamp for the last time the thread was updated on the server.

◆ muted

bool ttv::chat::ThreadData::muted

◆ numUnreadMessages

uint32_t ttv::chat::ThreadData::numUnreadMessages

◆ participants

std::vector<ChatUserInfo> ttv::chat::ThreadData::participants

The list of participants.

◆ threadId

std::string ttv::chat::ThreadData::threadId

The unique thread id.


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