LibTgBotPP/include/Telegram/Chat.h
2016-04-30 07:18:32 +02:00

27 lines
383 B
C++

#ifndef _TG_CHAT_H_
#define _TG_CHAT_H_
#include <json/json.h>
#include <string>
namespace Telegram {
class Chat {
public:
Chat(Json::Value);
Json::Int64 getId();
std::string getUsername();
private:
Json::Int64 id;
std::string type;
std::string title;
std::string username;
std::string first_name;
std::string last_name;
};
}
#endif