This function is only available on context of types
function assign(teammateId: string | null, cancelToken?: CancelToken): Promise<void>;
|String | null
|ID of the teammate to assign the conversation to.
|Token to cancel the request.
To unassign the selected conversations, set the
teammateId parameter to
The function returns a promise that resolves once Front receives the request.
The draft's conversation is not selected.
|This error applies to composer plugins. It occurs when the
messageComposer context for composer plugins does not have access to the conversation. To avoid this error, disable the functionality of this method whenever the
conversation property does not exist in the
messageComposer context. Learn more in the Context topic.