This function is only available for composer plugins
This function is only available on Context of type
function close(cancelToken?: CancelToken): Promise<void>;
|Token to cancel the request.
This function should be used when an intended user action has been completed and the composer plugin modal no longer needs to be open.
Example: The user selects a file to attach to the message from your composer plugin window, after which point this function is used to close the modal on behalf of the user.
About the composer plugin modal
The composer plugin window is a feature that developers can add to their apps so that users can open composer plugins from the composer toolbar in the Front UI. The modal cannot be opened directly through the SDK. It can only be opened by the user interacting with the UI.