LauncherConfig

@Serializable
data class LauncherConfig(val icon: LauncherIcon = LauncherIcon.CHAT, val imageUrl: String? = null, val label: Map<String, String> = emptyMap())

How the launcher button looks: a preset icon or the site's own image, and an optional short label per language that turns it into a pill ("Hỗ trợ").

Constructors

Link copied to clipboard
constructor(icon: LauncherIcon = LauncherIcon.CHAT, imageUrl: String? = null, label: Map<String, String> = emptyMap())

Properties

Link copied to clipboard

Preset icon.

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

https image that replaces the icon.

Link copied to clipboard

Label per locale; empty means icon only.

Functions

Link copied to clipboard

The label for locale, or null for an icon-only button (no fallback to the other language).