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