tgbot-cpp
InlineQueryResultPhoto.h
Go to the documentation of this file.
1
//
2
// Created by Andrea Giove on 26/03/16.
3
//
4
5
#ifndef TGBOT_INLINEQUERYRESULTPHOTO_H
6
#define TGBOT_INLINEQUERYRESULTPHOTO_H
7
8
#include <string>
9
#include <memory>
10
11
#include "
tgbot/types/InlineQueryResult.h
"
12
13
namespace
TgBot
{
14
19
class
InlineQueryResultPhoto
:
public
InlineQueryResult
{
20
public
:
21
static
const
std::string
TYPE
;
22
23
typedef
std::shared_ptr<InlineQueryResultPhoto>
Ptr
;
24
25
InlineQueryResultPhoto
() {
26
this->
type
=
TYPE
;
27
this->
photoWidth
= 0;
28
this->
photoHeight
= 0;
29
}
30
34
std::string
photoUrl
;
35
39
std::string
thumbUrl
;
40
44
int32_t
photoWidth
;
45
49
int32_t
photoHeight
;
50
54
std::string
description
;
55
};
56
}
57
58
#endif //TGBOT_INLINEQUERYRESULTPHOTO_H
TgBot::InlineQueryResultPhoto::TYPE
static const std::string TYPE
Definition:
InlineQueryResultPhoto.h:21
TgBot::InlineQueryResult::type
std::string type
Definition:
InlineQueryResult.h:33
TgBot
Definition:
Api.h:44
TgBot::InlineQueryResultPhoto::photoHeight
int32_t photoHeight
Definition:
InlineQueryResultPhoto.h:49
TgBot::InlineQueryResultPhoto::description
std::string description
Definition:
InlineQueryResultPhoto.h:54
TgBot::InlineQueryResultPhoto::thumbUrl
std::string thumbUrl
Definition:
InlineQueryResultPhoto.h:39
InlineQueryResult.h
TgBot::InlineQueryResult
Definition:
InlineQueryResult.h:20
TgBot::InlineQueryResultPhoto
Definition:
InlineQueryResultPhoto.h:19
TgBot::InlineQueryResultPhoto::Ptr
std::shared_ptr< InlineQueryResultPhoto > Ptr
Definition:
InlineQueryResultPhoto.h:23
TgBot::InlineQueryResultPhoto::photoWidth
int32_t photoWidth
Definition:
InlineQueryResultPhoto.h:44
TgBot::InlineQueryResultPhoto::InlineQueryResultPhoto
InlineQueryResultPhoto()
Definition:
InlineQueryResultPhoto.h:25
TgBot::InlineQueryResultPhoto::photoUrl
std::string photoUrl
Definition:
InlineQueryResultPhoto.h:34
include
tgbot
types
InlineQueryResultPhoto.h
Generated on Sun Jan 15 2017 02:46:16 for tgbot-cpp by
1.8.13