retryEntry

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

Re-sends a conversation entry.

Return

The Result when attempting to re-send the message. Result.Success.data returns the sent message.

Parameters

conversationEntry

The conversation entry.

remoteConfiguration

The remote configuration object, which contains pre-chat fields.


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

Re-sends a conversation entry.

Return

The Result when attempting to re-send the message. Result.Success.data returns the sent message.

Parameters

conversationEntry

The conversation entry.


abstract suspend fun retryEntry(conversationEntry: ConversationEntry, preChatFields: List<PreChatField> = emptyList(), hiddenPreChatFields: List<PreChatField> = emptyList()): Result<ConversationEntry>

Deprecated

Deprecated. Use retryEntry(conversationEntry: ConversationEntry, remoteConfiguration: RemoteConfiguration ): Result<ConversationEntry API instead.

Re-sends a conversation entry.

Return

The Result when attempting to re-send the message. Result.Success.data returns the sent message.

Parameters

conversationEntry

The conversation entry.

preChatFields

A List of PreChatField objects. Default is an empty list.

hiddenPreChatFields

A List of PreChatField objects that are not visible to the user. Default is an empty list.