Inherits InlineKeyboardButtonType.
A button that forces an inline query to the bot to be inserted in the input field.
Public Fields | |
string | query_ |
Inline query to be sent to the bot. | |
bool | in_current_chat_ |
True, if the inline query must be sent from the current chat. | |
Public Instance Methods | |
inlineKeyboardButtonTypeSwitchInline () | |
inlineKeyboardButtonTypeSwitchInline (string const &query_, bool in_current_chat_) | |
std::int32_t | get_id () const final |
void | store (TlStorerToString &s, const char *field_name) const final |
![]() | |
virtual void | store (TlStorerUnsafe &s) const |
virtual void | store (TlStorerCalcLength &s) const |
TlObject ()=default | |
TlObject (const TlObject &)=delete | |
TlObject & | operator= (const TlObject &)=delete |
TlObject (TlObject &&)=default | |
TlObject & | operator= (TlObject &&)=default |
virtual | ~TlObject ()=default |
Static Public Attributes | |
static const std::int32_t | ID = -2035563307 |
Identifier uniquely determining a type of the object. | |
A button that forces an inline query to the bot to be inserted in the input field.
inlineKeyboardButtonTypeSwitchInline | ( | string const & | query_, |
bool | in_current_chat_ | ||
) |
A button that forces an inline query to the bot to be inserted in the input field.
[in] | query_ | Inline query to be sent to the bot. |
[in] | in_current_chat_ | True, if the inline query must be sent from the current chat. |
|
inlinefinalvirtual |
|
finalvirtual |