StarTransactionTypeChannelSubscriptionPurchase.fromJson constructor
Parses a StarTransactionTypeChannelSubscriptionPurchase from TDLib JSON.
Implementation
factory StarTransactionTypeChannelSubscriptionPurchase.fromJson(
Map<String, dynamic> json,
) => StarTransactionTypeChannelSubscriptionPurchase(
chatId: _readInt(json['chat_id']),
subscriptionPeriod: _readInt(json['subscription_period']),
);