Generate an invoice deep link

payments.exportedInvoice#aed0cbd9 url:string = payments.ExportedInvoice;
payments.exportInvoice#f91b065 invoice_media:InputMedia = payments.ExportedInvoice;


Name Type Description
invoice_media InputMedia Invoice



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 deep links encountered in messages, link entities and in other apps by registering OS handlers.