addTopichas been deprecated. Please use addLink instead.
This function is only available on context of types
function addTopic(externalUrl: string, name?: string, cancelToken?: CancelToken): Promise<Topic>;
Front deduplicates Topic by their type and URL. If a topic already exists, the selected conversations will be added to the existing one.
|String||URL of the topic.|
|String (optional)||Human readable name.|
|CancelToken (optional)||Token to cancel the request.|
The function returns a promise that resolves with the Topic added.