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