Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/mtkruto/tl/2_types.ts>BotMenuButton_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class BotMenuButton_
import { BotMenuButton_ } from "https://deno.land/x/mtkruto@0.1.190/tl/2_types.ts";

Bot menu button that opens a web app when clicked.

Constructors

new
BotMenuButton_(params: { text: string; url: string; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
text: string

Title to be displayed on the menu button instead of 'Menu'

url: string

URL of a web app to open when the user clicks on the button

Static Properties

readonly
[name]: string
readonly
[paramDesc]: ParamDesc