Skip to content

payments.sendPaymentForm

No description provided by the pinned schema.

payments.sendPaymentForm#2d03522f flags:# form_id:long invoice:InputInvoice requested_info_id:flags.0?string shipping_option_id:flags.1?string credentials:InputPaymentCredentials tip_amount:flags.2?long = payments.PaymentResult;

payments.PaymentResult

NameTypeFlagDefaultDescription
flags#flag wordNo description provided by the pinned schema.
form_idlongNo description provided by the pinned schema.
invoiceInputInvoiceNo description provided by the pinned schema.
requested_info_idflags.0?stringflags.0No description provided by the pinned schema.
shipping_option_idflags.1?stringflags.1No description provided by the pinned schema.
credentialsInputPaymentCredentialsNo description provided by the pinned schema.
tip_amountflags.2?longflags.2No description provided by the pinned schema.
ParameterBitMeaning
requested_info_id0Controlled by flags; present when this bit is set.
shipping_option_id1Controlled by flags; present when this bit is set.
tip_amount2Controlled by flags; present when this bit is set.
from miniproto.raw.functions import PaymentsSendPaymentForm

Public access: miniproto.raw.functions.PaymentsSendPaymentForm.

from miniproto.raw.functions import PaymentsSendPaymentForm
# Naming the raw request class is local only; it performs no I/O or network request.
request_type = PaymentsSendPaymentForm

payments.PaymentResult

CodeErrorDescription
400BUSINESS_CONNECTION_NOT_ALLOWEDThis 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.
400FORM_UNSUPPORTEDPlease update your client.
400INVOICE_INVALIDThe specified invoice is invalid.
400MESSAGE_ID_INVALIDThe provided message id is invalid.
400PAYMENT_CREDENTIALS_INVALIDThe specified payment credentials are invalid.
400PEER_ID_INVALIDThe provided peer id is invalid.
400TMP_PASSWORD_INVALIDThe passed tmp_password is invalid.

InputInvoice, InputPaymentCredentials Known selected constructors: inputInvoiceBusinessBotTransferStars, inputInvoiceChatInviteSubscription, inputInvoiceMessage, inputInvoicePremiumAuthCode, inputInvoicePremiumGiftCode, inputInvoicePremiumGiftStars, inputInvoiceSlug, inputInvoiceStarGift, inputInvoiceStarGiftAuctionBid, inputInvoiceStarGiftDropOriginalDetails, inputInvoiceStarGiftPrepaidUpgrade, inputInvoiceStarGiftResale, inputInvoiceStarGiftTransfer, inputInvoiceStarGiftUpgrade, inputInvoiceStars, inputPaymentCredentials, inputPaymentCredentialsApplePay, inputPaymentCredentialsGooglePay, inputPaymentCredentialsSaved

payments.PaymentResult Known selected constructors: payments.paymentResult, payments.paymentVerificationNeeded

payments.getPaymentForm, payments.sendStarsForm, payments.validateRequestedInfo

  • unauthenticated allowed
  • user only
  • tdlib_vs_core: changed_count=68; core_only_count=1; overlap_count=2302; tdlib_only_count=158
  • tdlib_vs_tdesktop: changed_count=0; overlap_count=2448; tdesktop_only=null; tdlib_only=accessPointRule, ephemeral.editMessage, help.configSimple, inputPeerPhotoFileLocationLegacy, inputStickerSetThumbLegacy, invokeWithApnsSecretPrefix, invokeWithBusinessConnectionPrefix, invokeWithGooglePlayIntegrityPrefix, invokeWithReCaptchaPrefix, ipPort, ipPortSecret, updateEphemeralBotCallbackQuery