mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-04-07 18:42:29 +00:00
add support of requestChat
This commit is contained in:
@@ -4,6 +4,7 @@ package dev.inmo.tgbotapi.webapps
|
||||
|
||||
import dev.inmo.tgbotapi.types.CustomEmojiId
|
||||
import dev.inmo.tgbotapi.types.PreparedMessageId
|
||||
import dev.inmo.tgbotapi.types.buttons.PreparedKeyboardButtonId
|
||||
import dev.inmo.tgbotapi.utils.TelegramAPIUrlsKeeper
|
||||
import dev.inmo.tgbotapi.webapps.accelerometer.Accelerometer
|
||||
import dev.inmo.tgbotapi.webapps.biometric.BiometricManager
|
||||
@@ -149,6 +150,8 @@ external class WebApp {
|
||||
|
||||
fun hideKeyboard()
|
||||
|
||||
fun requestChat(id: PreparedKeyboardButtonId, callback: ((Boolean) -> Unit)? = definedExternally)
|
||||
|
||||
// Start of generated part
|
||||
|
||||
@JsName("onEvent")
|
||||
|
||||
Reference in New Issue
Block a user