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
7namespace TgBot {
8
16
17public:
18 typedef std::shared_ptr<KeyboardButtonRequestUser> Ptr;
19
25 std::int32_t requestId;
26
33
40};
41}
42
43#endif //TGBOT_KEYBOARDBUTTONREQUESTUSER_H
This object defines the criteria used to request a suitable user. The identifier of the selected user...
std::int32_t requestId
Signed 32-bit identifier of the request, which will be received back in the UserShared object.
std::shared_ptr< KeyboardButtonRequestUser > Ptr
bool userIsBot
Optional. Pass True to request a bot, pass False to request a regular user.
bool userIsPremium
Optional. Pass True to request a premium user, pass False to request a non-premium user.
Definition Api.h:39