tgbot-cpp
Loading...
Searching...
No Matches
KeyboardButtonRequestChat.h
Go to the documentation of this file.
1#ifndef TGBOT_KEYBOARDBUTTONREQUESTCHAT_H
2#define TGBOT_KEYBOARDBUTTONREQUESTCHAT_H
3
5
6#include <cstdint>
7#include <memory>
8
9namespace TgBot {
10
18
19public:
20 typedef std::shared_ptr<KeyboardButtonRequestChat> Ptr;
21
27 std::int32_t requestId;
28
33
40
47
54
62
70
77};
78}
79
80#endif //TGBOT_KEYBOARDBUTTONREQUESTCHAT_H
std::shared_ptr< ChatAdministratorRights > Ptr
This object defines the criteria used to request a suitable chat. The identifier of the selected chat...
ChatAdministratorRights::Ptr botAdministratorRights
Optional. A JSON-serialized object listing the required administrator rights of the bot in the chat.
ChatAdministratorRights::Ptr userAdministratorRights
Optional. A JSON-serialized object listing the required administrator rights of the user in the chat.
bool chatIsCreated
Optional. Pass True to request a chat owned by the user.
std::shared_ptr< KeyboardButtonRequestChat > Ptr
std::int32_t requestId
Signed 32-bit identifier of the request, which will be received back in the ChatShared object.
bool botIsMember
Optional. Pass True to request a chat with the bot as a member.
bool chatHasUsername
Optional. Pass True to request a supergroup or a channel with a username, pass False to request a cha...
bool chatIsForum
Optional. Pass True to request a forum supergroup, pass False to request a non-forum chat.
bool chatIsChannel
Pass True to request a channel chat, pass False to request a group or a supergroup chat.
Definition Api.h:39