MenuButton

@Serializable(with = MenuButtonSerializer::class)
sealed interface MenuButton

Inheritors

Types

Link copied to clipboard
@Serializable
object Commands : MenuButton
Link copied to clipboard
@Serializable
object Default : MenuButton
Link copied to clipboard
@Serializable
data class Unknown(val type: String, val rawJson: JsonElement) : MenuButton
Link copied to clipboard
@Serializable
data class WebApp(val text: String, val webApp: WebAppInfo) : MenuButton

Properties

Link copied to clipboard
@EncodeDefault
abstract val type: String