#ifndef _TG_MESSAGEENTITY_H_ #define _TG_MESSAGEENTITY_H_ #include #include #include namespace Telegram { class MessageEntity { public: MessageEntity(Json::Value); std::string getType(); private: std::string type; Json::Int64 offset; Json::Int64 length; std::string url; }; typedef std::vector TMessageEntities; } #endif