CraftGiftResultSuccess.fromJson constructor
Parses a CraftGiftResultSuccess from TDLib JSON.
Implementation
factory CraftGiftResultSuccess.fromJson(Map<String, dynamic> json) =>
CraftGiftResultSuccess(
gift: _readObject(json['gift'], UpgradedGift.fromJson),
receivedGiftId: _readString(json['received_gift_id']),
extra: json['@extra'],
clientId: _readClientId(json['@client_id']),
);