Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/grammy_types/markup.ts>InlineKeyboardButton.PayButton

Type declarations of the Telegram Bot API.
Very Popular
Latest
interface InlineKeyboardButton.PayButton
implements AbstractInlineKeyboardButton
import { type InlineKeyboardButton } from "https://deno.land/x/grammy_types@v3.9.0/markup.ts";
const { PayButton } = InlineKeyboardButton;

Properties

pay: boolean

Specify True, to send a Pay button. Substrings “⭐” and “XTR” in the buttons's text will be replaced with a Telegram Star icon.

NOTE: This type of button must always be the first button in the first row and can only be used in invoice messages.