LibTgBotPP
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Macros
MessageEntity.cc
Go to the documentation of this file.
1
#include "
Telegram/MessageEntity.h
"
2
3
Telegram::MessageEntity::MessageEntity
(Json::Value json) {
4
5
this->
type
= json[
"type"
].asString();
6
this->
offset
= json[
"offset"
].asUInt64();
7
this->
length
= json[
"length"
].asUInt64();
8
this->
url
= json[
"url"
].asString();
9
}
10
11
std::string
Telegram::MessageEntity::getType
() {
12
13
return
(this->type);
14
}
Telegram::MessageEntity::getType
std::string getType()
Definition:
MessageEntity.cc:11
Telegram::MessageEntity::url
std::string url
Definition:
MessageEntity.h:20
Telegram::MessageEntity::type
std::string type
Definition:
MessageEntity.h:17
MessageEntity.h
Telegram::MessageEntity::MessageEntity
MessageEntity(Json::Value)
Definition:
MessageEntity.cc:3
Telegram::MessageEntity::length
Json::Int64 length
Definition:
MessageEntity.h:19
Telegram::MessageEntity::offset
Json::Int64 offset
Definition:
MessageEntity.h:18
src
MessageEntity.cc
Generated on Sun Jun 4 2017 13:31:53 for LibTgBotPP by
1.8.6