tgbot-cpp
Loading...
Searching...
No Matches
InputContactMessageContent.h
Go to the documentation of this file.
1
#ifndef TGBOT_INPUTCONTACTMESSAGECONTENT_H
2
#define TGBOT_INPUTCONTACTMESSAGECONTENT_H
3
4
#include "
tgbot/types/InputMessageContent.h
"
5
6
#include <memory>
7
#include <string>
8
9
namespace
TgBot
{
10
16
class
InputContactMessageContent
:
public
InputMessageContent
{
17
public
:
18
static
const
std::string
TYPE
;
19
20
typedef
std::shared_ptr<InputContactMessageContent>
Ptr
;
21
22
InputContactMessageContent
() {
23
this->
type
=
TYPE
;
24
}
25
29
std::string
phoneNumber
;
30
34
std::string
firstName
;
35
39
std::string
lastName
;
40
44
std::string
vcard
;
45
};
46
}
47
48
#endif
//TGBOT_INPUTCONTACTMESSAGECONTENT_H
InputMessageContent.h
TgBot::InputContactMessageContent::lastName
std::string lastName
Optional. Contact's last name.
Definition
InputContactMessageContent.h:39
TgBot::InputContactMessageContent::InputContactMessageContent
InputContactMessageContent()
Definition
InputContactMessageContent.h:22
TgBot::InputContactMessageContent::firstName
std::string firstName
Contact's first name.
Definition
InputContactMessageContent.h:34
TgBot::InputContactMessageContent::phoneNumber
std::string phoneNumber
Contact's phone number.
Definition
InputContactMessageContent.h:29
TgBot::InputContactMessageContent::vcard
std::string vcard
Optional. Additional data about the contact in the form of a vCard, 0-2048 bytes.
Definition
InputContactMessageContent.h:44
TgBot::InputContactMessageContent::Ptr
std::shared_ptr< InputContactMessageContent > Ptr
Definition
InputContactMessageContent.h:20
TgBot::InputContactMessageContent::TYPE
static const std::string TYPE
Definition
InputContactMessageContent.h:18
TgBot::InputMessageContent::type
std::string type
Type of the content.
Definition
InputMessageContent.h:27
TgBot::InputMessageContent::InputMessageContent
InputMessageContent()
Definition
InputMessageContent.h:20
TgBot
Definition
Api.h:40
include
tgbot
types
InputContactMessageContent.h
Generated on
for tgbot-cpp by
1.14.0