Get a payment form
payments.paymentForm#3f56aea3 flags:# can_save_credentials:flags.2?true password_missing:flags.3?true bot_id:int invoice:Invoice provider_id:int url:string native_provider:flags.4?string native_params:flags.4?DataJSON saved_info:flags.0?PaymentRequestedInfo saved_credentials:flags.1?PaymentSavedCredentials users:Vector<User> = payments.PaymentForm;
---functions---
payments.getPaymentForm#99f09745 msg_id:int = payments.PaymentForm;
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. |
400 | BOT_INVOICE_INVALID | The specified invoice 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_INVALID | The passed inputInvoiceStarGift is invalid. |
400 | UNTIL_DATE_INVALID | Invalid until date provided. |
Bots can offer users interactive HTML5 web apps to completely replace any website.
Used to buy a Telegram Star Gift, see here » for more info.