StorePaymentPurposePremiumSubscription class

The user subscribed to Telegram Premium.

Inheritance
Available Extensions

Constructors

StorePaymentPurposePremiumSubscription({required bool is_restore, required bool is_upgrade, int? extra, int? clientId})
The user subscribed to Telegram Premium

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
is_restore bool
Pass true if this is a restore of a Telegram Premium purchase; only for App Store.
read / write
is_upgrade bool
Pass true if this is an upgrade from a monthly subscription to early subscription; only for App Store.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

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) StorePaymentPurposePremiumSubscription?
Construct from Map.
override

Constants

CONSTRUCTOR → const String
@type
"storePaymentPurposePremiumSubscription"