This function is only available on context of types SINGLE_CONVERSATION and MULTI_CONVERSATIONS

function addLink(externalUrl: string, name?: string, cancelToken?: CancelToken): Promise<Link>;

Front deduplicates Link by their type and URL. If a link already exists, the selected conversations will be added to the existing one.


externalUrlStringURL of the link
nameString (optional)Human readable name
cancelTokenCancelToken (optional)Token to cancel the request

Return value

The function returns a promise that resolves with the Link added.