Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/grammy_menu/mod.ts>MenuRange#pay

Interactive menus for grammY.
Go to Latest
method MenuRange.prototype.pay
import { MenuRange } from "https://deno.land/x/grammy_menu@v1.2.2/mod.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: MaybeDynamicString<C>

The text to display