List of all members | Public Fields | Public Types | Public Instance Methods | Static Public Attributes
sendPaymentForm Class Referencefinal

Inherits Function.

Description

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

Returns object_ptr<PaymentResult>.

Public Fields

int53 chat_id_
 Chat identifier of the Invoice message.
 
int53 message_id_
 Message identifier.
 
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.
 
int53 tip_amount_
 Chosen by the user amount of tip in the smallest units of the currency.
 

Public Types

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

Public Instance Methods

 sendPaymentForm ()
 
 sendPaymentForm (int53 chat_id_, int53 message_id_, int64 payment_form_id_, string const &order_info_id_, string const &shipping_option_id_, object_ptr< InputCredentials > &&credentials_, int53 tip_amount_)
 
std::int32_t get_id () const final
 
void store (TlStorerToString &s, const char *field_name) const final
 
- Public Instance Methods inherited from 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
 

Static Public Attributes

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

Constructor & Destructor Documentation

◆ sendPaymentForm() [1/2]

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]

sendPaymentForm ( int53  chat_id_,
int53  message_id_,
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]chat_id_Chat identifier of the Invoice message.
[in]message_id_Message identifier.
[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.
[in]tip_amount_Chosen by the user amount of tip in the smallest units of the currency.

Method Documentation

◆ get_id()

std::int32_t get_id ( ) const
inlinefinalvirtual

Returns identifier uniquely determining a type of the object.

Returns
this->ID.

Implements TlObject.

◆ store()

void 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 TlObject.


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