retryEntry

abstract suspend fun retryEntry(conversationEntry: ConversationEntry, remoteConfiguration: RemoteConfiguration): Result<ConversationEntry>

Retries sending a previously failed conversation entry with a remote configuration.

Use this when the original entry failed due to missing pre-chat data or routing configuration. The remoteConfiguration provides the pre-chat fields required for the retry.

Return

Result.Success with the re-sent ConversationEntry, or Result.Error on failure.

Parameters

conversationEntry

The failed entry to retry.

remoteConfiguration

The RemoteConfiguration containing pre-chat fields for routing.


abstract suspend fun retryEntry(conversationEntry: ConversationEntry): Result<ConversationEntry>

Retries sending a previously failed conversation entry.

Use this overload when the failure was transient (e.g., network error) and no additional routing configuration is needed.

Return

Result.Success with the re-sent ConversationEntry, or Result.Error on failure.

Parameters

conversationEntry

The failed entry to retry.