SendPaymentForm class
- Inheritance
-
- Object
- TdFunction
- SendPaymentForm
Constructors
- SendPaymentForm({required int chatId, required int messageId, required int paymentFormId, required String orderInfoId, required String shippingOptionId, required InputCredentials credentials, required int tipAmount})
-
Sends a filled-out payment form to the bot for final verification
const
Properties
- chatId → int
-
chatId Chat identifier of the Invoice message
final
- credentials → InputCredentials
-
credentials The credentials chosen by user for payment
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageId → int
-
messageId Message identifier
final
- orderInfoId → String
-
orderInfoId Identifier returned by validateOrderInfo, or an empty string
final
- paymentFormId → int
-
paymentFormId Payment form identifier returned by getPaymentForm
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shippingOptionId → String
-
shippingOptionId Identifier of a chosen shipping option, if applicable
final
- tipAmount → int
-
tipAmount Chosen by the user amount of tip in the smallest units of the currency
final
Methods
-
copyWith(
{int? chatId, int? messageId, int? paymentFormId, String? orderInfoId, String? shippingOptionId, InputCredentials? credentials, int? tipAmount}) → SendPaymentForm -
getConstructor(
) → String -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
[dynamic extra]) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- CONSTRUCTOR → const String