#pragma once #include "messages/message.hpp" #include namespace chatterino { namespace messages { class MessageBuilder { public: MessageBuilder(); SharedMessage build(); void appendWord(const Word &word); void appendTimestamp(); void appendTimestamp(std::time_t time); QString matchLink(const QString &string); QString originalMessage; private: std::vector _words; std::chrono::time_point _parseTime; }; } // namespace messages } // namespace chatterino