AvailableGift.fromJson constructor
Parses a AvailableGift from TDLib JSON.
Implementation
factory AvailableGift.fromJson(Map<String, dynamic> json) => AvailableGift(
gift: _readObject(json['gift'], Gift.fromJson),
resaleCount: _readInt(json['resale_count']),
minResaleStarCount: _readInt(json['min_resale_star_count']),
title: _readString(json['title']),
);