toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'star_amount': starAmount.toJson(),
'subscriptions': [for (final e in subscriptions) e.toJson()],
'required_star_count': requiredStarCount,
'next_offset': nextOffset,
};