toJson method
Converts an object to JSON.
Implementation
@override
Map<String, dynamic> toJson() {
final returnValue = <String, dynamic>{
"\$": "0x269dc2c1",
"flags": flags,
"fromBotMenu": fromBotMenu,
"silent": silent,
"peer": peer,
"bot": bot,
"url": url,
"startParam": startParam,
"themeParams": themeParams,
"platform": platform,
"replyTo": replyTo,
"sendAs": sendAs,
};
// Finished toJson.
return returnValue;
}