tgbot-cpp
Loading...
Searching...
No Matches
TgBot::SwitchInlineQueryChosenChat Class Reference

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< SwitchInlineQueryChosenChatPtr
 

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.
 

Detailed Description

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.

Member Typedef Documentation

◆ Ptr

Member Data Documentation

◆ allowBotChats

bool TgBot::SwitchInlineQueryChosenChat::allowBotChats

Optional. True, if private chats with bots can be chosen.

Definition at line 32 of file SwitchInlineQueryChosenChat.h.

◆ allowChannelChats

bool TgBot::SwitchInlineQueryChosenChat::allowChannelChats

Optional. True, if channel chats can be chosen.

Definition at line 42 of file SwitchInlineQueryChosenChat.h.

◆ allowGroupChats

bool TgBot::SwitchInlineQueryChosenChat::allowGroupChats

Optional. True, if group and supergroup chats can be chosen.

Definition at line 37 of file SwitchInlineQueryChosenChat.h.

◆ allowUserChats

bool TgBot::SwitchInlineQueryChosenChat::allowUserChats

Optional. True, if private chats with users can be chosen.

Definition at line 27 of file SwitchInlineQueryChosenChat.h.

◆ query

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.


The documentation for this class was generated from the following file: