From 6388d8db13798217262e381486780c2892ba406c Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Sun, 8 Dec 2024 10:17:02 +0600 Subject: [PATCH] make chat in WebAppInitData nullable --- .../jsMain/kotlin/dev/inmo/tgbotapi/webapps/WebAppInitData.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tgbotapi.webapps/src/jsMain/kotlin/dev/inmo/tgbotapi/webapps/WebAppInitData.kt b/tgbotapi.webapps/src/jsMain/kotlin/dev/inmo/tgbotapi/webapps/WebAppInitData.kt index 960a4360e5..1fe1f572a4 100644 --- a/tgbotapi.webapps/src/jsMain/kotlin/dev/inmo/tgbotapi/webapps/WebAppInitData.kt +++ b/tgbotapi.webapps/src/jsMain/kotlin/dev/inmo/tgbotapi/webapps/WebAppInitData.kt @@ -10,7 +10,7 @@ external interface WebAppInitData { val user: WebAppUser? val receiver: WebAppUser? - val chat: WebAppChat + val chat: WebAppChat? @JsName("chat_type") val chatType: ChatType?