Skip to main content
Module

x/grammy/types.ts>InlineKeyboardButton

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