MessagePaymentSuccessfulBot class
A payment has been completed; for bots only.
- Inheritance
-
- Object
- TlObject
- MessageContent
- MessagePaymentSuccessfulBot
- Available Extensions
Constructors
- MessagePaymentSuccessfulBot({required String currency, required int total_amount, required bool is_recurring, required bool is_first_recurring, required bytes invoice_payload, required String shipping_option_id, OrderInfo? order_info, required String telegram_payment_charge_id, required String provider_payment_charge_id, int? extra, int? clientId})
- A payment has been completed; for bots only
Properties
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- currency ↔ String
-
Currency for price of the product.
read / write
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- invoice_payload ↔ bytes
-
Invoice payload.
; base64-encoded bytes
List<int>
read / write - is_first_recurring ↔ bool
-
True, if this is the first recurring payment.
read / write
- is_recurring ↔ bool
-
True, if this is a recurring payment.
read / write
- order_info ↔ OrderInfo?
-
Information about the order; may be null.
read / write
- provider_payment_charge_id ↔ String
-
Provider payment identifier.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- shipping_option_id ↔ String
-
Identifier of the shipping option chosen by the user; may be empty if not applicable.
read / write
- telegram_payment_charge_id ↔ String
-
Telegram payment identifier.
read / write
- total_amount ↔ int
-
Total price for the product, in the smallest units of the currency.
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) → MessagePaymentSuccessfulBot? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"messagePaymentSuccessfulBot"