#ifndef TGBOT_MESSAGEORIGINUSER_H #define TGBOT_MESSAGEORIGINUSER_H #include "tgbot/types/MessageOrigin.h" #include "tgbot/types/User.h" #include namespace TgBot { /** * @brief The message was originally sent by a known user. * * @ingroup types */ class MessageOriginUser : public MessageOrigin { public: static const std::string TYPE; typedef std::shared_ptr Ptr; MessageOriginUser() { this->type = TYPE; } /** * @brief User that sent the message originally */ User::Ptr senderUser; }; } #endif //TGBOT_MESSAGEORIGINUSER_H