payments.exportInvoice

Generate an invoice deep link

 Method schema is available as of layer 143. Switch ยป

Parameters

Name Type Description
invoice_media InputMedia Invoice

Result

payments.ExportedInvoice

Possible errors

Code Type Description
400 CURRENCY_TOTAL_AMOUNT_INVALID The total amount of all prices is invalid.
400 INVOICE_PAYLOAD_INVALID The specified invoice payload is invalid.
400 MEDIA_INVALID Media invalid.
400 PAYMENT_PROVIDER_INVALID The specified payment provider is invalid.

Bots can use this method

Related pages

Deep links

Telegram clients must handle special tg:// and t.me deep links encountered in messages, link entities and in other apps by registering OS handlers.