Files
Towards/modules/chat_service/chat_lib/include/models/ChatMessage.hpp
T

21 lines
277 B
C++
Raw Normal View History

2026-07-18 14:31:15 +02:00
#pragma once
#include <chrono>
namespace tw::chat {
class ChatMessage {
public:
using Clock = std::chrono::system_clock;
using TimePoint = Clock::time_point;
TimePoint timestamp;
uint64_t client_id;
uint64_t channel_id;
std::string message;
};
}