Very Popular
Go to Latest
method InlineKeyboard.pay
import { InlineKeyboard } from "https://dotland.deno.dev/x/grammy@v1.19.1/convenience/keyboard.ts";

Create a new payment button, confer https://core.telegram.org/bots/api#payments

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

Parameters

text: string

The text to display

Returns

InlineKeyboardButton.PayButton