diff options
author | Oleg Morozenkov <reo7sp@users.noreply.github.com> | 2016-11-05 21:35:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-05 21:35:01 +0300 |
commit | 305471cb6a60b6033babf11f662ba93205acce23 (patch) | |
tree | 94517ab1bc9d0570648ae6bbbc0aa810fe274dbd /include/tgbot | |
parent | 1dc0ee29b3ba8150cc57757b60cabed6e37c5aaf (diff) | |
parent | 54843ab5d5ddfa695f6873b0adb53ec333b9491f (diff) |
Merge pull request #26 from andijcr/master
added json->MessageEntity
Diffstat (limited to 'include/tgbot')
-rw-r--r-- | include/tgbot/TgTypeParser.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/tgbot/TgTypeParser.h b/include/tgbot/TgTypeParser.h index 17e9553..9e5a1d7 100644 --- a/include/tgbot/TgTypeParser.h +++ b/include/tgbot/TgTypeParser.h @@ -73,6 +73,7 @@ public: std::string parseChat(const Chat::Ptr& object) const; User::Ptr parseJsonAndGetUser(const boost::property_tree::ptree& data) const; std::string parseUser(const User::Ptr& object) const; + MessageEntity::Ptr parseJsonAndGetEntity(const boost::property_tree::ptree& data) const; Message::Ptr parseJsonAndGetMessage(const boost::property_tree::ptree& data) const; std::string parseMessage(const Message::Ptr& object) const; PhotoSize::Ptr parseJsonAndGetPhotoSize(const boost::property_tree::ptree& data) const; |