Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mtkruto/types/1_keyboard_button.ts

[WIP] Cross-runtime JavaScript library for building Telegram clients
Go to Latest
import * as mtkruto from "https://deno.land/x/mtkruto@0.1.101/types/1_keyboard_button.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 Aliases

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.