toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'id': id,
'title': title,
'icon': icon.toJson(),
'color_id': colorId,
'is_shareable': isShareable,
'has_my_invite_links': hasMyInviteLinks,
};