retrieveRemoteConfiguration

Retrieves the RemoteConfiguration from the messaging service.

The remote configuration contains routing and deployment details such as pre-chat fields and business rules configured in Salesforce setup.

Return

Result.Success containing the RemoteConfiguration, or Result.Error on failure.

Samples

val conversationId = UUID.randomUUID()
val result = coreClient.retrieveRemoteConfiguration()
if (result is Result.Success) {
    coreClient.createConversation(conversationId, remoteConfiguration = result.data)
}