Skip to main content
Module

x/mtkruto/mod.ts>InlineKeyboardButton.SwitchInlineCurrent

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
interface InlineKeyboardButton.SwitchInlineCurrent
implements Base
import { type InlineKeyboardButton } from "https://deno.land/x/mtkruto@0.1.124/mod.ts";
const { SwitchInlineCurrent } = InlineKeyboardButton;

Properties

switchInlineQueryCurrentChat: string

If set, pressing the button will insert the bot's username and the specified inline query in the current chat's input field. May be empty, in which case only the bot's username will be inserted.