GreetingOptions

@Serializable
data class GreetingOptions(val enabled: Boolean = true, val onMobile: Boolean = true, val sender: GreetingSender = GreetingSender.NONE, val teaserSeconds: Int = 0)

How the greeting is shown (dashboard: website settings → greeting).

Constructors

Link copied to clipboard
constructor(enabled: Boolean = true, onMobile: Boolean = true, sender: GreetingSender = GreetingSender.NONE, teaserSeconds: Int = 0)

Properties

Link copied to clipboard
val enabled: Boolean = true

Show the greeting at all.

Link copied to clipboard
@SerialName(value = "on_mobile")
val onMobile: Boolean = true

Show it on phones (an app always counts as one).

Link copied to clipboard

Who signs it.

Link copied to clipboard
@SerialName(value = "teaser_seconds")
val teaserSeconds: Int = 0

Web only: seconds before the greeting pops over the closed launcher (0 = never).