import { Api } from "https://deno.land/x/grammy@v1.31.0/mod.ts";
Use this method to create a link for an invoice. Returns the created invoice link as String on success.
Parameters
Bot-defined invoice payload, 1-128 bytes. This will not be displayed to the user, use for your internal processes.
prices: LabeledPrice[]
Price breakdown, a list of components (e.g. product price, tax, discount, delivery cost, delivery tax, bonus, etc.)
optional
other: Other<R, "createInvoiceLink", | "title"
| "description"
| "payload"
| "provider_token"
| "currency"
| "prices"
Optional remaining parameters, confer the official reference below
optional
signal: AbortSignalOptional AbortSignal
to cancel the request
Official reference: https://core.telegram.org/bots/api#createinvoicelink