WebApp

external class WebApp

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
Link copied to clipboard
fun checkHomeScreenStatus(callback: (HomeScreenStatus) -> Unit = definedExternally)
Link copied to clipboard
fun close()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun downloadFile(params: DownloadFileParams, callback: (Boolean) -> Unit = definedExternally)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun expand()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun offEvent(type: String, callback: () -> Unit)
Link copied to clipboard
Link copied to clipboard
fun WebApp.onActivated(eventHandler: ActivatedEventHandler): () -> Unit
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun openInvoice(url: String, callback: (InvoiceClosedInfo) -> Unit = definedExternally)
Link copied to clipboard
fun openLink(url: String)
Link copied to clipboard
Link copied to clipboard
fun readTextFromClipboard(callback: TextReceivedCallback? = definedExternally)
Link copied to clipboard
fun ready()
Link copied to clipboard
fun requestContact(callback: (Boolean) -> Unit? = definedExternally)
Link copied to clipboard
fun requestEmojiStatusAccess(callback: (Boolean) -> Unit = definedExternally)
Link copied to clipboard
Link copied to clipboard
fun requestWriteAccess(callback: (Boolean) -> Unit? = definedExternally)
Link copied to clipboard
fun sendData(data: String)
Link copied to clipboard
Link copied to clipboard
fun setEmojiStatus(customEmojiId: CustomEmojiId, params: EmojiStatusParams = definedExternally, callback: (Boolean) -> Unit = definedExternally)
Link copied to clipboard
Link copied to clipboard
fun shareMessage(messageId: PreparedMessageId, callback: (Boolean) -> Unit = definedExternally)
Link copied to clipboard
fun shareToStory(mediaUrl: String, params: StoryShareParams? = definedExternally)
Link copied to clipboard
fun showAlert(message: String, callback: AlertCallback? = definedExternally)
Link copied to clipboard
fun showConfirm(message: String, callback: ConfirmCallback? = definedExternally)
Link copied to clipboard
fun showPopup(params: PopupParams, callback: ClosePopupCallback? = definedExternally)
Link copied to clipboard
fun WebApp.showPopup(message: String, title: String?, buttons: Array<PopupButton>, callback: ClosePopupCallback? = null)
fun WebApp.showPopup(message: String, title: String?, firstButton: PopupButton, vararg otherButtons: PopupButton, callback: ClosePopupCallback? = null)
Link copied to clipboard
fun showScanQrPopup(params: ScanQrPopupParams, callback: QRTextReceivedCallback? = definedExternally)
Link copied to clipboard