Get a payment form
Method schema is available as of layer 127. Switch »
Name | Type | Description |
---|---|---|
flags | # | Flags, see TL conditional fields |
invoice | InputInvoice | Invoice |
theme_params | flags.0?DataJSON | Theme parameters » |
Code | Type | Description |
---|---|---|
400 | BOOST_PEER_INVALID | The specified boost_peer is invalid. |
403 | BOT_ACCESS_FORBIDDEN | |
400 | BOT_INVOICE_INVALID | The specified invoice is invalid. |
400 | BUSINESS_CONNECTION_INVALID | The connection_id passed to the wrapping invokeWithBusinessConnection call is invalid. |
400 | GIFT_MONTHS_INVALID | The value passed in invoice.inputInvoicePremiumGiftStars.months is invalid. |
400 | MESSAGE_ID_INVALID | The provided message id is invalid. |
400 | PEER_ID_INVALID | The provided peer id is invalid. |
400 | SLUG_INVALID | The specified invoice slug is invalid. |
400 | STARGIFT_ALREADY_CONVERTED | |
400 | STARGIFT_INVALID | The passed inputInvoiceStarGift is invalid. |
400 | STARGIFT_OWNER_INVALID | |
400 | STARGIFT_RESELL_NOT_ALLOWED | |
400 | STARGIFT_SLUG_INVALID | |
406 | STARS_FORM_AMOUNT_MISMATCH | |
400 | TO_ID_INVALID | |
400 | UNTIL_DATE_INVALID | Invalid until date provided. |
Bots can offer users interactive HTML5 web apps to completely replace any website.
Users can turn their Telegram account into a business account, gaining access to business features such as opening hours, location, quick replies, automated messages, custom start pages, chatbot support, and more.
Used to buy a Telegram Star Gift, see here » for more info.