ChatBoostSourcePremium.fromJson constructor

ChatBoostSourcePremium.fromJson(
  1. Map<String, dynamic> json
)

Parses a ChatBoostSourcePremium from TDLib JSON.

Implementation

factory ChatBoostSourcePremium.fromJson(Map<String, dynamic> json) =>
    ChatBoostSourcePremium(
      userId: _readInt(json['user_id']),
    );