MessageGiftedPremium class
Telegram Premium was gifted to the user.
- Inheritance
-
- Object
- TlObject
- MessageContent
- MessageGiftedPremium
- Available Extensions
Constructors
Properties
- amount ↔ int
-
The paid amount, in the smallest units of the currency.
read / write
- clientId ↔ int?
-
TDLib client instance identifier, for which the response was received.
read / writeoverride
- cryptocurrency ↔ String
-
Cryptocurrency used to pay for the gift; may be empty if none.
read / write
- cryptocurrency_amount ↔ int64
-
The paid amount, in the smallest units of the cryptocurrency.
; string representation of int, use
int.parse
read / write - currency ↔ String
-
Currency for the paid amount.
read / write
- extra ↔ int?
-
Request identifier. Must be non-zero.
read / writeoverride
- gifter_user_id ↔ int
-
The identifier of a user that gifted Telegram Premium; 0 if the gift was anonymous.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- month_count ↔ int
-
Number of month the Telegram Premium subscription will be active.
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- sticker ↔ Sticker?
-
A sticker to be shown in the message; may be null if unknown.
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) → MessageGiftedPremium? -
Construct from Map.
override
Constants
- CONSTRUCTOR → const String
-
@type
"messageGiftedPremium"