end()
Note: This API is supported from version 10.0.0.
The end() API ends the ongoing call anywhere within your application.
Parameter:
- completion: An optional closure that returns the result of the call termination.
- error: An object describing the failure (or nil if successful).
- message (String): A brief description of the error.
- code (Int): A numeric value representing the error code.
- error: An object describing the failure (or nil if successful).
- conversation: Upon successful call termination, the SalesIQConversation object is returned on successful call termination, and nil for failure.
Example
Copied