toJson method
override
Object to Map serializer
Implementation
@override
Map<String, dynamic> toJson() {
return {
'@type': 'sendInlineQueryResultMessage',
if (extra != null) '@extra': extra,
'chat_id': chat_id,
'message_thread_id': message_thread_id,
'reply_to': reply_to,
'options': options,
'query_id': query_id,
'result_id': result_id,
'hide_via_bot': hide_via_bot
};
}