toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'id': id.toString(),
'static_icon': staticIcon?.toJson(),
'emoji': emoji,
'is_premium': isPremium,
'type': type.toJson(),
};