tgbot-cpp
|
This object represents an inline button that switches the current user to inline mode in a chosen chat, with an optional default inline query. More...
#include <SwitchInlineQueryChosenChat.h>
Public Types | |
typedef std::shared_ptr< SwitchInlineQueryChosenChat > | Ptr |
Public Attributes | |
std::string | query |
Optional. The default inline query to be inserted in the input field. If left empty, only the bot's username will be inserted. | |
bool | allowUserChats |
Optional. True, if private chats with users can be chosen. | |
bool | allowBotChats |
Optional. True, if private chats with bots can be chosen. | |
bool | allowGroupChats |
Optional. True, if group and supergroup chats can be chosen. | |
bool | allowChannelChats |
Optional. True, if channel chats can be chosen. | |
This object represents an inline button that switches the current user to inline mode in a chosen chat, with an optional default inline query.
Definition at line 14 of file SwitchInlineQueryChosenChat.h.
typedef std::shared_ptr<SwitchInlineQueryChosenChat> TgBot::SwitchInlineQueryChosenChat::Ptr |
Definition at line 17 of file SwitchInlineQueryChosenChat.h.
bool TgBot::SwitchInlineQueryChosenChat::allowBotChats |
Optional. True, if private chats with bots can be chosen.
Definition at line 32 of file SwitchInlineQueryChosenChat.h.
bool TgBot::SwitchInlineQueryChosenChat::allowChannelChats |
Optional. True, if channel chats can be chosen.
Definition at line 42 of file SwitchInlineQueryChosenChat.h.
bool TgBot::SwitchInlineQueryChosenChat::allowGroupChats |
Optional. True, if group and supergroup chats can be chosen.
Definition at line 37 of file SwitchInlineQueryChosenChat.h.
bool TgBot::SwitchInlineQueryChosenChat::allowUserChats |
Optional. True, if private chats with users can be chosen.
Definition at line 27 of file SwitchInlineQueryChosenChat.h.
std::string TgBot::SwitchInlineQueryChosenChat::query |
Optional. The default inline query to be inserted in the input field. If left empty, only the bot's username will be inserted.
Definition at line 22 of file SwitchInlineQueryChosenChat.h.