toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': '66a08c7e',
'\$name': 'AccountUpdateConnectedBot',
'flags': flags,
'deleted': deleted,
'rights': rights,
'bot': bot,
'recipients': recipients,
};
// Finished toJson.
return returnValue;
}