Skip to main content
Module

x/grammy_types/mod.ts>InlineKeyboardButton

Types for the Telegram Bot API
Very Popular
Go to Latest
type alias InlineKeyboardButton
import { type InlineKeyboardButton } from "https://deno.land/x/grammy_types@v3.0.3/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.UrlButton
| InlineKeyboardButton.WebAppButton