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 <Types.h>
|
| std::optional< 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.
|
| std::optional< bool > | allowUserChats { } |
| | Optional. True, if private chats with users can be chosen.
|
| std::optional< bool > | allowBotChats { } |
| | Optional. True, if private chats with bots can be chosen.
|
| std::optional< bool > | allowGroupChats { } |
| | Optional. True, if group and supergroup chats can be chosen.
|
| std::optional< 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 14016 of file Types.h.
◆ Ptr
◆ allowBotChats
| std::optional<bool> TgBot::SwitchInlineQueryChosenChat::allowBotChats { } |
Optional. True, if private chats with bots can be chosen.
Definition at line 14033 of file Types.h.
◆ allowChannelChats
| std::optional<bool> TgBot::SwitchInlineQueryChosenChat::allowChannelChats { } |
Optional. True, if channel chats can be chosen.
Definition at line 14043 of file Types.h.
◆ allowGroupChats
| std::optional<bool> TgBot::SwitchInlineQueryChosenChat::allowGroupChats { } |
Optional. True, if group and supergroup chats can be chosen.
Definition at line 14038 of file Types.h.
◆ allowUserChats
| std::optional<bool> TgBot::SwitchInlineQueryChosenChat::allowUserChats { } |
Optional. True, if private chats with users can be chosen.
Definition at line 14028 of file Types.h.
◆ query
| std::optional<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 14023 of file Types.h.
The documentation for this struct was generated from the following file: