mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-06-13 13:25:26 +00:00
11 lines
194 B
Kotlin
11 lines
194 B
Kotlin
|
package dev.inmo.tgbotapi.webapps
|
||
|
|
||
|
import org.w3c.dom.Window
|
||
|
|
||
|
external interface Telegram {
|
||
|
val WebApp: WebApp
|
||
|
}
|
||
|
|
||
|
val Window.Telegram
|
||
|
get() = asDynamic().Telegram.unsafeCast<Telegram>()
|