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 13074 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 13089 of file Types.h.
◆ allowChannelChats
| std::optional<bool> TgBot::SwitchInlineQueryChosenChat::allowChannelChats { } |
Optional. True, if channel chats can be chosen.
Definition at line 13097 of file Types.h.
◆ allowGroupChats
| std::optional<bool> TgBot::SwitchInlineQueryChosenChat::allowGroupChats { } |
Optional. True, if group and supergroup chats can be chosen.
Definition at line 13093 of file Types.h.
◆ allowUserChats
| std::optional<bool> TgBot::SwitchInlineQueryChosenChat::allowUserChats { } |
Optional. True, if private chats with users can be chosen.
Definition at line 13085 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 13081 of file Types.h.
The documentation for this struct was generated from the following file: