tdlib-obf API
Reference documentation for the public tdlib-obf API, generated from TDLib schemas and public headers
Loading...
Searching...
No Matches
td::td_api::sendPaymentForm Class Referencefinal

#include </home/runner/work/tdlib-obf/tdlib-obf/td/generate/auto/td/telegram/td_api.h>

Inheritance diagram for td::td_api::sendPaymentForm:
td::td_api::Function td::TlObject

Public Types

using ReturnType = object_ptr< paymentResult >
 Typedef for the type returned by the function.
 

Public Member Functions

 sendPaymentForm ()
 
 sendPaymentForm (object_ptr< InputInvoice > &&input_invoice_, int64 payment_form_id_, string const &order_info_id_, string const &shipping_option_id_, object_ptr< InputCredentials > &&credentials_, int53 tip_amount_)
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Member Functions inherited from td::TlObject
virtual void store (TlStorerUnsafe &s) const
 
virtual void store (TlStorerCalcLength &s) const
 
 TlObject ()=default
 
 TlObject (const TlObject &)=delete
 
TlObjectoperator= (const TlObject &)=delete
 
 TlObject (TlObject &&)=default
 
TlObjectoperator= (TlObject &&)=default
 
virtual ~TlObject ()=default
 

Public Attributes

object_ptr< InputInvoiceinput_invoice_
 The invoice.
 
int64 payment_form_id_
 Payment form identifier returned by getPaymentForm.
 
string order_info_id_
 Identifier returned by validateOrderInfo, or an empty string.
 
string shipping_option_id_
 Identifier of a chosen shipping option, if applicable.
 
object_ptr< InputCredentialscredentials_
 The credentials chosen by user for payment; pass null for a payment in Telegram Stars.
 
int53 tip_amount_
 Chosen by the user amount of tip in the smallest units of the currency.
 

Static Public Attributes

static const std::int32_t ID = -965855094
 Identifier uniquely determining a type of the object.
 

Detailed Description

Sends a filled-out payment form to the bot for final verification.

Returns object_ptr<PaymentResult>.

Definition at line 126565 of file td_api.h.

Member Typedef Documentation

◆ ReturnType

Typedef for the type returned by the function.

Definition at line 126613 of file td_api.h.

Constructor & Destructor Documentation

◆ sendPaymentForm() [1/2]

td::td_api::sendPaymentForm::sendPaymentForm ( )

Default constructor for a function, which sends a filled-out payment form to the bot for final verification.

Returns object_ptr<PaymentResult>.

◆ sendPaymentForm() [2/2]

td::td_api::sendPaymentForm::sendPaymentForm ( object_ptr< InputInvoice > &&  input_invoice_,
int64  payment_form_id_,
string const &  order_info_id_,
string const &  shipping_option_id_,
object_ptr< InputCredentials > &&  credentials_,
int53  tip_amount_ 
)

Creates a function, which sends a filled-out payment form to the bot for final verification.

Returns object_ptr<PaymentResult>.

Parameters
[in]input_invoice_The invoice.
[in]payment_form_id_Payment form identifier returned by getPaymentForm.
[in]order_info_id_Identifier returned by validateOrderInfo, or an empty string.
[in]shipping_option_id_Identifier of a chosen shipping option, if applicable.
[in]credentials_The credentials chosen by user for payment; pass null for a payment in Telegram Stars.
[in]tip_amount_Chosen by the user amount of tip in the smallest units of the currency.

Member Function Documentation

◆ store()

void td::td_api::sendPaymentForm::store ( TlStorerToString &  s,
const char *  field_name 
) const
finalvirtual

Helper function for to_string method. Appends string representation of the object to the storer.

Parameters
[in]sStorer to which object string representation will be appended.
[in]field_nameObject field_name if applicable.

Implements td::TlObject.

Member Data Documentation

◆ credentials_

object_ptr<InputCredentials> td::td_api::sendPaymentForm::credentials_

The credentials chosen by user for payment; pass null for a payment in Telegram Stars.

Definition at line 126584 of file td_api.h.

◆ ID

const std::int32_t td::td_api::sendPaymentForm::ID = -965855094
static

Identifier uniquely determining a type of the object.

Definition at line 126610 of file td_api.h.

◆ input_invoice_

object_ptr<InputInvoice> td::td_api::sendPaymentForm::input_invoice_

The invoice.

Definition at line 126576 of file td_api.h.

◆ order_info_id_

string td::td_api::sendPaymentForm::order_info_id_

Identifier returned by validateOrderInfo, or an empty string.

Definition at line 126580 of file td_api.h.

◆ payment_form_id_

int64 td::td_api::sendPaymentForm::payment_form_id_

Payment form identifier returned by getPaymentForm.

Definition at line 126578 of file td_api.h.

◆ shipping_option_id_

string td::td_api::sendPaymentForm::shipping_option_id_

Identifier of a chosen shipping option, if applicable.

Definition at line 126582 of file td_api.h.

◆ tip_amount_

int53 td::td_api::sendPaymentForm::tip_amount_

Chosen by the user amount of tip in the smallest units of the currency.

Definition at line 126586 of file td_api.h.


The documentation for this class was generated from the following file: