ContactButton

@Serializable
data class ContactButton(val kind: ContactButtonKind, val url: String = "", val label: String = "")

Another way to reach the shop, resolved to a link by the gateway.

Constructors

Link copied to clipboard
constructor(kind: ContactButtonKind, url: String = "", label: String = "")

Properties

Link copied to clipboard

The link is one the SDK opens (https:, tel: or mailto:).

Link copied to clipboard

Channel.

Link copied to clipboard

Display label (Zalo / Messenger name).

Link copied to clipboard
val url: String

https://zalo.me/…, https://m.me/…, tel:… or mailto:….