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

x/grammy_types/mod.ts>InlineKeyboardButton

Type declarations of the Telegram Bot API.
Latest
type alias InlineKeyboardButton
import { type InlineKeyboardButton } from "https://deno.land/x/grammy_types@v3.15.0/mod.ts";

This object represents one button of an inline keyboard. You must use exactly one of the optional fields.

definition:
| InlineKeyboardButton.CallbackButton
| InlineKeyboardButton.GameButton
| InlineKeyboardButton.LoginButton
| InlineKeyboardButton.PayButton
| InlineKeyboardButton.SwitchInlineButton
| InlineKeyboardButton.SwitchInlineCurrentChatButton
| InlineKeyboardButton.SwitchInlineChosenChatButton
| InlineKeyboardButton.CopyTextButtonButton
| InlineKeyboardButton.UrlButton
| InlineKeyboardButton.WebAppButton