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