LibTgBotPP
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Macros
Voice.cc
Go to the documentation of this file.
1
#include "
Telegram/Voice.h
"
2
3
Telegram::Voice::Voice
(Json::Value json) {
4
5
this->
file_id
= json[
"file_id"
].asString();
6
this->
duration
= json[
"duration"
].asInt64();
7
this->
mime_type
= json[
"mime_type"
].asString();
8
this->
file_size
= json[
"file_size"
].asInt64();
9
}
Telegram::Voice::duration
Json::Int64 duration
Definition:
Voice.h:15
Telegram::Voice::Voice
Voice(Json::Value)
Definition:
Voice.cc:3
Telegram::Voice::file_id
std::string file_id
Definition:
Voice.h:14
Telegram::Voice::mime_type
std::string mime_type
Definition:
Voice.h:16
Voice.h
Telegram::Voice::file_size
Json::Int64 file_size
Definition:
Voice.h:17
src
Voice.cc
Generated on Wed Jun 7 2017 20:37:38 for LibTgBotPP by
1.8.6