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. | |
object_ptr< TargetChat > | target_chat_ |
Target chat from which to send the inline query. | |
Public Instance Methods | |
inlineKeyboardButtonTypeSwitchInline () | |
inlineKeyboardButtonTypeSwitchInline (string const &query_, object_ptr< TargetChat > &&target_chat_) | |
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 = 544906485 |
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_, |
object_ptr< TargetChat > && | target_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] | target_chat_ | Target chat from which to send the inline query. |
|
finalvirtual |