Skip to main content
Module

x/mtkruto/mod.ts>KeyboardButton

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
namespace KeyboardButton
Re-export
import { KeyboardButton } from "https://deno.land/x/mtkruto@0.1.116/mod.ts";

Interfaces

This object defines the criteria used to request a suitable chat. The identifier of the selected chat will be shared with the bot when the corresponding button is pressed.

This object defines the criteria used to request a suitable user. The identifier of the selected user will be shared with the bot when the corresponding button is pressed.

type alias KeyboardButton
Re-export
import { type KeyboardButton } from "https://deno.land/x/mtkruto@0.1.116/mod.ts";

This object represents one button of the reply keyboard. For simple text buttons, String can be used instead of this object to specify the button text. The optional fields web_app, request_user, request_chat, request_contact, request_location, and request_poll are mutually exclusive.