tgbot-cpp
Loading...
Searching...
No Matches
KeyboardButtonRequestUser.h
Go to the documentation of this file.
1
#ifndef TGBOT_KEYBOARDBUTTONREQUESTUSER_H
2
#define TGBOT_KEYBOARDBUTTONREQUESTUSER_H
3
4
#include <cstdint>
5
#include <memory>
6
7
namespace
TgBot
{
8
15
class
KeyboardButtonRequestUser
{
16
17
public
:
18
typedef
std::shared_ptr<KeyboardButtonRequestUser>
Ptr
;
19
25
std::int32_t
requestId
;
26
32
bool
userIsBot
;
33
39
bool
userIsPremium
;
40
};
41
}
42
43
#endif
//TGBOT_KEYBOARDBUTTONREQUESTUSER_H
TgBot::KeyboardButtonRequestUser
This object defines the criteria used to request a suitable user. The identifier of the selected user...
Definition
KeyboardButtonRequestUser.h:15
TgBot::KeyboardButtonRequestUser::requestId
std::int32_t requestId
Signed 32-bit identifier of the request, which will be received back in the UserShared object.
Definition
KeyboardButtonRequestUser.h:25
TgBot::KeyboardButtonRequestUser::Ptr
std::shared_ptr< KeyboardButtonRequestUser > Ptr
Definition
KeyboardButtonRequestUser.h:18
TgBot::KeyboardButtonRequestUser::userIsBot
bool userIsBot
Optional. Pass True to request a bot, pass False to request a regular user.
Definition
KeyboardButtonRequestUser.h:32
TgBot::KeyboardButtonRequestUser::userIsPremium
bool userIsPremium
Optional. Pass True to request a premium user, pass False to request a non-premium user.
Definition
KeyboardButtonRequestUser.h:39
TgBot
Definition
Api.h:39
include
tgbot
types
KeyboardButtonRequestUser.h
Generated on Mon Mar 4 2024 01:37:26 for tgbot-cpp by
1.10.0