toJson method
Converts this object to TDLib JSON.
Implementation
@override
Map<String, dynamic> toJson() => {
'@type': CONSTRUCTOR,
'bot': bot.toJson(),
'connection_date': connectionDate,
'device_model': deviceModel,
'location': location,
};