InternalLinkTypeGiftCollection.fromJson constructor
Parses a InternalLinkTypeGiftCollection from TDLib JSON.
Implementation
factory InternalLinkTypeGiftCollection.fromJson(Map<String, dynamic> json) =>
InternalLinkTypeGiftCollection(
giftOwnerUsername: _readString(json['gift_owner_username']),
collectionId: _readInt(json['collection_id']),
extra: json['@extra'],
clientId: _readClientId(json['@client_id']),
);