1.0 KiB
1.0 KiB
title | description |
---|---|
inlineKeyboardButtonTypeSwitchInline | A button which forces inline query to the bot to be substitued in the input field |
Constructor: inlineKeyboardButtonTypeSwitchInline
A button which forces inline query to the bot to be substitued in the input field
Attributes:
Name | Type | Required | Description |
---|---|---|---|
query | string | Yes | Inline query to be sent to the bot |
in_current_chat | Bool | Yes | True, if the inline query should be sent from the current chat |
Type: InlineKeyboardButtonType
Example:
$inlineKeyboardButtonTypeSwitchInline = ['_' => 'inlineKeyboardButtonTypeSwitchInline', 'query' => string, 'in_current_chat' => Bool, ];
Or, if you're into Lua:
inlineKeyboardButtonTypeSwitchInline={_='inlineKeyboardButtonTypeSwitchInline', query=string, in_current_chat=Bool, }