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
18
class
MessageEntity
{
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
45
User::Ptr
user
;
46
};
47
}
48
49
#endif //TGBOT_MESSAGEENTITY_H
TgBot::MessageEntity::Ptr
std::shared_ptr< MessageEntity > Ptr
Definition:
MessageEntity.h:20
TgBot::MessageEntity::user
User::Ptr user
Definition:
MessageEntity.h:45
TgBot
Definition:
Api.h:44
TgBot::MessageEntity::url
std::string url
Definition:
MessageEntity.h:40
TgBot::MessageEntity::offset
int32_t offset
Definition:
MessageEntity.h:30
TgBot::MessageEntity::length
int32_t length
Definition:
MessageEntity.h:35
User.h
TgBot::MessageEntity::type
std::string type
Definition:
MessageEntity.h:25
TgBot::MessageEntity
Definition:
MessageEntity.h:18
TgBot::User::Ptr
std::shared_ptr< User > Ptr
Definition:
User.h:38
include
tgbot
types
MessageEntity.h
Generated on Mon Jan 2 2017 23:04:20 for tgbot-cpp by
1.8.13