MessengerSettingsParams

data class MessengerSettingsParams(val aiAgentId: String, val userId: String? = null, var language: String? = null, val country: String? = null, val context: Map<String, String>? = null)

Represents the parameters for getting the messenger settings.

Since

4.26.0

Parameters

aiAgentId

The ai-agent ID.

userId

The user ID.

Constructors

Link copied to clipboard
constructor(aiAgentId: String, userId: String? = null, language: String? = null, country: String? = null, context: Map<String, String>? = null)

Properties

Link copied to clipboard

The ai-agent ID.

Link copied to clipboard
val context: Map<String, String>? = null

The meta context of conversation with the AI agent.

Link copied to clipboard
val country: String? = null

The country code of the metadata. This string should follow the ISO 3166 format. For example, it might be "KR" for South Korea or "US" for the United States.

Link copied to clipboard

The language of the metadata. The language will be applied to the metadata. This string should follow IETF BCP 47 format format. For example, it might be "ko-KR" for Korean in South Korea or "en-US" for English in the United States.

Link copied to clipboard
val userId: String? = null

The user ID.