Skip to main content
Module

x/grammy_menu/deps.deno.ts>InlineKeyboard#pay

Easily create interactive menus with grammY.
Go to Latest
method InlineKeyboard.prototype.pay
import { InlineKeyboard } from "https://deno.land/x/grammy_menu@v1.1.2/deps.deno.ts";

Adds 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