payments.validateRequestedInfo
Signature
Section titled “Signature”payments.validateRequestedInfo#b6c8f12b flags:# save:flags.0?true invoice:InputInvoice info:PaymentRequestedInfo = payments.ValidatedRequestedInfo;Result type
Section titled “Result type”payments.ValidatedRequestedInfo
Parameters
Section titled “Parameters”| Name | Type | Flag | Default | Description |
|---|---|---|---|---|
| flags | # | flag word | — | |
| save | flags.0?true | flags.0 | — | |
| invoice | InputInvoice | — | — | |
| info | PaymentRequestedInfo | — | — |
| Parameter | Bit | Meaning |
|---|---|---|
| save | 0 | Controlled by flags; present when this bit is set. |
Python binding
Section titled “Python binding”from miniproto.raw.functions import PaymentsValidateRequestedInfoPublic access: miniproto.raw.functions.PaymentsValidateRequestedInfo.
Result family
Section titled “Result family”payments.ValidatedRequestedInfo
RPC errors
Section titled “RPC errors”| Code | Error | Description |
|---|---|---|
| 400 | BUSINESS_CONNECTION_NOT_ALLOWED |
This method was invoked over a business connection using invokeWithBusinessConnection, but either (1) we’re a user, and users cannot invoke methods over a business connection; (2) we’re a bot, but business mode was disabled in @botfather or (3); we’re a bot, but this method cannot be invoked over a business connection. |
| 400 | MESSAGE_ID_INVALID |
The provided message id is invalid. |
| 400 | PEER_ID_INVALID |
The provided peer id is invalid. |
| 401 | AUTH_KEY_UNREGISTERED |
The specified authorization key is not registered in the system (for example, a PFS temporary key has expired). |
Accepted types
Section titled “Accepted types”InputInvoice, PaymentRequestedInfo
Known selected constructors: inputInvoiceBusinessBotTransferStars, inputInvoiceChatInviteSubscription, inputInvoiceMessage, inputInvoicePremiumAuthCode, inputInvoicePremiumGiftCode, inputInvoicePremiumGiftStars, inputInvoiceSlug, inputInvoiceStarGift, inputInvoiceStarGiftAuctionBid, inputInvoiceStarGiftDropOriginalDetails, inputInvoiceStarGiftPrepaidUpgrade, inputInvoiceStarGiftResale, inputInvoiceStarGiftTransfer, inputInvoiceStarGiftUpgrade, inputInvoiceStars, paymentRequestedInfo
Returned types
Section titled “Returned types”payments.ValidatedRequestedInfo
Known selected constructors: payments.validatedRequestedInfo
Related methods
Section titled “Related methods”payments.getPaymentForm, payments.sendPaymentForm, payments.sendStarsForm
Availability evidence
Section titled “Availability evidence”- user only