diff --git a/CHANGELOG.md b/CHANGELOG.md index 665fb5c847..50bdf79304 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,9 @@ ## 0.38.21 +* `WebApps`: + * `WebAppInitData#queryId` now have correct js name of field + ## 0.38.20 * `BehaviourBuilder FSM`: 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 a00181ab91..a561cfb89a 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 @@ -1,9 +1,9 @@ package dev.inmo.tgbotapi.webapps -import dev.inmo.tgbotapi.types.MilliSeconds -import dev.inmo.tgbotapi.types.WebAppQueryId +import dev.inmo.tgbotapi.types.* external interface WebAppInitData { + @JsName("query_id") val queryId: WebAppQueryId? val user: WebAppUser?