tgbot-cpp
InlineQueryResultDocument.h
Go to the documentation of this file.
1
//
2
// Created by Konstantin Kukin on 27/12/16
3
//
4
5
#ifndef TGBOT_INLINEQUERYRESULTDOCUMENT_H
6
#define TGBOT_INLINEQUERYRESULTDOCUMENT_H
7
8
#include <string>
9
#include <memory>
10
11
#include "
tgbot/types/InlineQueryResult.h
"
12
13
namespace
TgBot
{
14
19
class
InlineQueryResultDocument
:
public
InlineQueryResult
{
20
public
:
21
static
const
std::string
TYPE
;
22
23
typedef
std::shared_ptr<InlineQueryResultDocument>
Ptr
;
24
25
InlineQueryResultDocument
() {
26
this->
type
=
TYPE
;
27
this->
thumbHeight
= 0;
28
this->
thumbWidth
= 0;
29
}
30
34
std::string
documentUrl
;
35
39
std::string
mimeType
;
40
44
std::string
description
;
45
49
std::string
thumbUrl
;
50
54
int32_t
thumbWidth
;
55
59
int32_t
thumbHeight
;
60
};
61
}
62
63
#endif //TGBOT_INLINEQUERYRESULTDOCUMENT_H
TgBot::InlineQueryResultDocument::thumbHeight
int32_t thumbHeight
Definition:
InlineQueryResultDocument.h:59
TgBot::InlineQueryResultDocument::thumbUrl
std::string thumbUrl
Definition:
InlineQueryResultDocument.h:49
TgBot::InlineQueryResult::type
std::string type
Definition:
InlineQueryResult.h:33
TgBot
Definition:
Api.h:44
TgBot::InlineQueryResultDocument::thumbWidth
int32_t thumbWidth
Definition:
InlineQueryResultDocument.h:54
TgBot::InlineQueryResultDocument::description
std::string description
Definition:
InlineQueryResultDocument.h:44
InlineQueryResult.h
TgBot::InlineQueryResultDocument::mimeType
std::string mimeType
Definition:
InlineQueryResultDocument.h:39
TgBot::InlineQueryResultDocument::Ptr
std::shared_ptr< InlineQueryResultDocument > Ptr
Definition:
InlineQueryResultDocument.h:23
TgBot::InlineQueryResultDocument::documentUrl
std::string documentUrl
Definition:
InlineQueryResultDocument.h:34
TgBot::InlineQueryResult
Definition:
InlineQueryResult.h:20
TgBot::InlineQueryResultDocument::TYPE
static const std::string TYPE
Definition:
InlineQueryResultDocument.h:21
TgBot::InlineQueryResultDocument
Definition:
InlineQueryResultDocument.h:19
TgBot::InlineQueryResultDocument::InlineQueryResultDocument
InlineQueryResultDocument()
Definition:
InlineQueryResultDocument.h:25
include
tgbot
types
InlineQueryResultDocument.h
Generated on Mon May 15 2017 00:23:55 for tgbot-cpp by
1.8.13