GetPaymentForm class

Returns an invoice payment form. This method must be called when the user presses inline button of the type inlineKeyboardButtonTypeBuy.

Returns PaymentForm.

Inheritance
Available Extensions

Constructors

GetPaymentForm({required InputInvoice input_invoice, ThemeParameters? theme, int? extra, int? clientId})
Returns an invoice payment form. This method must be called when the user presses inline button of the type inlineKeyboardButtonTypeBuy

Properties

clientId int?
TDLib client instance identifier, for which the response was received.
read / writeoverride
extra int?
Request identifier. Must be non-zero.
read / writeoverride
hashCode int
The hash code for this object.
read-onlyinherited
input_invoice InputInvoice
The invoice.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
theme ThemeParameters?
Preferred payment form theme; pass null to use the default theme.
read / write

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Object to Map serializer
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

fromMap(Map<String, dynamic>? _map) GetPaymentForm?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"getPaymentForm"