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