tgbot-cpp
InlineQueryResultArticle.h
Go to the documentation of this file.
1
//
2
// Created by Andrea Giove on 26/03/16.
3
//
4
5
#ifndef TGBOT_INLINEQUERYRESULTARTICLE_H
6
#define TGBOT_INLINEQUERYRESULTARTICLE_H
7
8
#include <string>
9
#include <memory>
10
11
#include "
tgbot/types/InlineQueryResult.h
"
12
13
namespace
TgBot
{
14
19
class
InlineQueryResultArticle
:
public
InlineQueryResult
{
20
public
:
21
static
const
std::string
TYPE
;
22
23
typedef
std::shared_ptr<InlineQueryResultArticle>
Ptr
;
24
25
InlineQueryResultArticle
() {
26
this->
type
=
TYPE
;
27
this->
hideUrl
=
false
;
28
this->
thumbHeight
= 0;
29
this->
thumbWidth
= 0;
30
}
31
35
std::string
url
;
36
40
bool
hideUrl
;
41
45
std::string
description
;
46
50
std::string
thumbUrl
;
51
55
int32_t
thumbWidth
;
56
60
int32_t
thumbHeight
;
61
};
62
}
63
64
#endif //TGBOT_INLINEQUERYRESULTARTICLE_H
TgBot::InlineQueryResultArticle::InlineQueryResultArticle
InlineQueryResultArticle()
Definition:
InlineQueryResultArticle.h:25
TgBot::InlineQueryResultArticle::Ptr
std::shared_ptr< InlineQueryResultArticle > Ptr
Definition:
InlineQueryResultArticle.h:23
TgBot::InlineQueryResultArticle::url
std::string url
Definition:
InlineQueryResultArticle.h:35
TgBot::InlineQueryResult::type
std::string type
Definition:
InlineQueryResult.h:33
TgBot
Definition:
Api.h:44
InlineQueryResult.h
TgBot::InlineQueryResultArticle
Definition:
InlineQueryResultArticle.h:19
TgBot::InlineQueryResultArticle::description
std::string description
Definition:
InlineQueryResultArticle.h:45
TgBot::InlineQueryResult
Definition:
InlineQueryResult.h:20
TgBot::InlineQueryResultArticle::thumbHeight
int32_t thumbHeight
Definition:
InlineQueryResultArticle.h:60
TgBot::InlineQueryResultArticle::thumbUrl
std::string thumbUrl
Definition:
InlineQueryResultArticle.h:50
TgBot::InlineQueryResultArticle::thumbWidth
int32_t thumbWidth
Definition:
InlineQueryResultArticle.h:55
TgBot::InlineQueryResultArticle::hideUrl
bool hideUrl
Definition:
InlineQueryResultArticle.h:40
TgBot::InlineQueryResultArticle::TYPE
static const std::string TYPE
Definition:
InlineQueryResultArticle.h:21
include
tgbot
types
InlineQueryResultArticle.h
Generated on Sun Jan 15 2017 02:46:16 for tgbot-cpp by
1.8.13