Skip to main content
Module

x/grammy/types.web.ts>InlineKeyboardButton

The Telegram Bot Framework.
Go to Latest
type alias InlineKeyboardButton
import { type InlineKeyboardButton } from "https://deno.land/x/grammy@v1.19.3/types.web.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.UrlButton
| InlineKeyboardButton.WebAppButton