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

x/mtkruto/tl/3_functions.ts>bots_getBotMenuButton_

Cross-runtime JavaScript library for building Telegram clients
Go to Latest
class bots_getBotMenuButton_
extends Function_<enums.BotMenuButton>
import { bots_getBotMenuButton_ } from "https://deno.land/x/mtkruto@0.1.190/tl/3_functions.ts";

Gets the menu button action for a given user or for all users, previously set using bots.setBotMenuButton; users can see this information in the botInfo constructor.

Constructors

new
bots_getBotMenuButton_(params: { user_id: enums.InputUser; })

Properties

protected
readonly
[id]: number
protected
readonly
[params]: Params
user_id: enums.InputUser

User ID or empty for the default menu button.

Static Properties

__F: (params: { user_id: enums.InputUser; }) => enums.BotMenuButton
readonly
[name]: string
readonly
[paramDesc]: ParamDesc