HeaderConfig

@Serializable
data class HeaderConfig(val subtitle: Map<String, String> = emptyMap(), val logoUrl: String? = null, val profile: HeaderProfile = HeaderProfile.AGENTS)

The chat header: a subtitle per language, the business logo and what the avatar spot shows.

Constructors

Link copied to clipboard
constructor(subtitle: Map<String, String> = emptyMap(), logoUrl: String? = null, profile: HeaderProfile = HeaderProfile.AGENTS)

Properties

Link copied to clipboard
@SerialName(value = "logo_url")
val logoUrl: String? = null

https logo for HeaderProfile.BUSINESS; null shows the site name's first letter.

Link copied to clipboard

Business logo or the online agents.

Link copied to clipboard

Subtitle per locale, shown under the title.

Functions

Link copied to clipboard

The subtitle for locale, or null when empty (no fallback to the other language, like the web widget).