tgbot-cpp
Loading...
Searching...
No Matches
KeyboardButtonRequestUsers.h
Go to the documentation of this file.
1#ifndef TGBOT_KEYBOARDBUTTONREQUESTUSERS_H
2#define TGBOT_KEYBOARDBUTTONREQUESTUSERS_H
3
4#include <cstdint>
5#include <memory>
6
7namespace TgBot {
8
18
19public:
20 typedef std::shared_ptr<KeyboardButtonRequestUsers> Ptr;
21
27 std::int32_t requestId;
28
35
42
48 std::uint8_t maxQuantity;
49
54
59
64};
65}
66
67#endif //TGBOT_KEYBOARDBUTTONREQUESTUSERS_H
This object defines the criteria used to request suitable users.
bool requestUsername
Optional. Pass True to request the users' username.
bool requestName
Optional. Pass True to request the users' first and last name.
std::shared_ptr< KeyboardButtonRequestUsers > Ptr
bool userIsBot
Optional. Pass True to request bots, pass False to request regular users.
std::int32_t requestId
Signed 32-bit identifier of the request that will be received back in the UsersShared object.
bool requestPhoto
Optional. Pass True to request the users' photo.
std::uint8_t maxQuantity
Optional. The maximum number of users to be selected; 1-10.
bool userIsPremium
Optional. Pass True to request premium users, pass False to request non-premium users.
Definition Api.h:40