Package dev.inmo.tgbotapi.webapps.popup

Types

Link copied to clipboard
typealias ClosePopupCallback = (id: String) -> Unit
Link copied to clipboard
external interface PopupButton
Link copied to clipboard
value class PopupButtonType(val typeName: String)
Link copied to clipboard
external interface PopupParams

Functions

Link copied to clipboard
fun CancelPopupButton(id: String): PopupButton
Link copied to clipboard
fun ClosePopupButton(id: String): PopupButton
Link copied to clipboard
fun DefaultPopupButton(id: String, text: String): PopupButton
Link copied to clipboard
fun DestructivePopupButton(id: String, text: String): PopupButton
Link copied to clipboard
fun OkPopupButton(id: String): PopupButton
Link copied to clipboard
fun PopupButton(    id: String,     type: PopupButtonType,     text: String? = null): PopupButton
Link copied to clipboard
fun PopupParams(    message: String,     firstButton: PopupButton,     vararg otherButtons: PopupButton): PopupParams
fun PopupParams(    message: String,     title: String?,     buttons: Array<PopupButton>): PopupParams
fun PopupParams(    title: String,     message: String,     firstButton: PopupButton,     vararg otherButtons: PopupButton): PopupParams