GetPaymentForm class
- Inheritance
-
- Object
- TdFunction
- GetPaymentForm
Constructors
- GetPaymentForm({required int chatId, required int messageId, PaymentFormTheme? theme})
-
Returns an invoice payment form. This method must be called when the user presses inlineKeyboardButtonBuy
const
Properties
- chatId → int
-
chatId Chat identifier of the Invoice message
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageId → int
-
messageId Message identifier
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- theme → PaymentFormTheme?
-
theme Preferred payment form theme; pass null to use the default theme
final
Methods
-
copyWith(
{int? chatId, int? messageId, PaymentFormTheme? theme}) → GetPaymentForm -
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