mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-01 07:25:23 +00:00
13 lines
602 B
Kotlin
13 lines
602 B
Kotlin
package dev.inmo.tgbotapi.webapps
|
|
|
|
import dev.inmo.tgbotapi.webapps.invoice.InvoiceClosedInfo
|
|
|
|
typealias EventHandler = WebApp.() -> Unit
|
|
typealias ViewportChangedEventHandler = WebApp.(ViewportChangedData) -> Unit
|
|
typealias InvoiceClosedEventHandler = WebApp.(InvoiceClosedInfo) -> Unit
|
|
typealias PopupClosedEventHandler = WebApp.(String?) -> Unit
|
|
typealias QRTextReceivedEventHandler = WebApp.(String) -> Boolean
|
|
typealias TextReceivedEventHandler = WebApp.(String) -> Unit
|
|
typealias WriteAccessRequestedHandler = WebApp.(Boolean) -> Unit
|
|
typealias ContactRequestedHandler = WebApp.(Boolean) -> Unit
|