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
20
21public:
22 typedef std::shared_ptr<KeyboardButtonRequestChat> Ptr;
23
29 std::int32_t requestId;
30
35
42
49
56
64
72
79
84
89
94};
95}
96
97#endif //TGBOT_KEYBOARDBUTTONREQUESTCHAT_H
std::shared_ptr< ChatAdministratorRights > Ptr
This object defines the criteria used to request a suitable 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 requestPhoto
Optional. Pass True to request the chat's photo.
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.
bool requestUsername
Optional. Pass True to request the chat's username.
bool requestTitle
Optional. Pass True to request the chat's title.
Definition Api.h:40