Object to Map serializer
@override Map<String, dynamic> toJson() { return { '@type': 'sentWebAppMessage', if (extra != null) '@extra': extra, 'inline_message_id': inline_message_id }; }