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

22 lines
289 B
C++

#ifndef _TG_VOICE_H_
#define _TG_VOICE_H_
#include <json/json.h>
#include <string>
namespace Telegram {
class Voice {
public:
Voice(Json::Value);
private:
std::string file_id;
Json::Int64 duration;
std::string mime_type;
Json::Int64 file_size;
};
}
#endif