This method is deprecated. Specify
includeSdk: true when initializing Smile UI, and then use the Smile.activities.create() method from the JavaScript SDK instead.Parameters
An object containing a
token attribute corresponding to the type of custom activity being created.Returns
This method returns aPromise that:
- On success, resolves with an activity object.
- On failure, resolves with an error object.
Promise will be rejected.