toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'url': url,
'bot_user_id': botUserId,
'parameters': parameters.toJson(),
'connection_date': connectionDate,
'is_disconnected': isDisconnected,
'user_count': userCount.toString(),
'revenue_star_count': revenueStarCount,
};