StarTransactionTypePaidGroupCallMessageReceive.fromJson constructor
Parses a StarTransactionTypePaidGroupCallMessageReceive from TDLib JSON.
Implementation
factory StarTransactionTypePaidGroupCallMessageReceive.fromJson(
Map<String, dynamic> json,
) => StarTransactionTypePaidGroupCallMessageReceive(
senderId: _readObject(json['sender_id'], MessageSender.fromJson),
commissionPerMille: _readInt(json['commission_per_mille']),
commissionStarAmount: _readObject(
json['commission_star_amount'],
StarAmount.fromJson,
),
);