tgbot-cpp
MessageEntity.h
Go to the documentation of this file.
1 //
2 // Created by Andrea Giove on 17/04/16.
3 //
4 
5 #ifndef TGBOT_MESSAGEENTITY_H
6 #define TGBOT_MESSAGEENTITY_H
7 
8 #include <memory>
9 #include <string>
10 #include "tgbot/types/User.h"
11 
12 namespace TgBot {
13 
19 public:
20  typedef std::shared_ptr<MessageEntity> Ptr;
21 
25  std::string type;
26 
30  int32_t offset;
31 
35  int32_t length;
36 
40  std::string url;
41 
46 };
47 }
48 
49 #endif //TGBOT_MESSAGEENTITY_H
std::shared_ptr< MessageEntity > Ptr
Definition: MessageEntity.h:20
Definition: Api.h:44
std::shared_ptr< User > Ptr
Definition: User.h:38