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