RunicVTT Open Source Virtual Tabletop for TTRPG using P2P
Loading...
Searching...
No Matches
ChatMessageModel Struct Reference

#include <ChatManager.h>

Collaboration diagram for ChatMessageModel:

Public Types

enum class  Kind { TEXT , IMAGE , LINK }
 

Public Attributes

Kind kind = Kind::TEXT
 
std::string senderUniqueId
 
std::string username
 
std::string content
 
double ts = 0.0
 

Detailed Description

Definition at line 23 of file ChatManager.h.

Member Enumeration Documentation

◆ Kind

enum class ChatMessageModel::Kind
strong
Enumerator
TEXT 
IMAGE 
LINK 

Definition at line 25 of file ChatManager.h.

Member Data Documentation

◆ content

std::string ChatMessageModel::content

Definition at line 34 of file ChatManager.h.

◆ kind

Kind ChatMessageModel::kind = Kind::TEXT

Definition at line 31 of file ChatManager.h.

◆ senderUniqueId

std::string ChatMessageModel::senderUniqueId

Definition at line 32 of file ChatManager.h.

◆ ts

double ChatMessageModel::ts = 0.0

Definition at line 35 of file ChatManager.h.

◆ username

std::string ChatMessageModel::username

Definition at line 33 of file ChatManager.h.


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