You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#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
|
|
|