toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
'\$hash': 'd2816f10',
'\$name': 'MessagesDeleteTopicHistory',
'peer': peer,
'topMsgId': topMsgId,
};
// Finished toJson.
return returnValue;
}