1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-12-05 22:05:45 +00:00
Files
tgbotapi/tgbotapi.webapps/src/jsMain/kotlin/dev/inmo/tgbotapi/webapps/WebAppInitData.kt
2025-07-21 22:55:36 +06:00

36 lines
699 B
Kotlin

@file:Suppress("INLINE_CLASS_IN_EXTERNAL_DECLARATION_WARNING")
package dev.inmo.tgbotapi.webapps
import dev.inmo.tgbotapi.types.*
import dev.inmo.tgbotapi.types.chat.ChatType
external interface WebAppInitData {
@JsName("query_id")
val queryId: WebAppQueryId?
val user: WebAppUser?
val receiver: WebAppUser?
val chat: WebAppChat?
@JsName("chat_type")
val chatType: ChatType?
@JsName("chat_instance")
val chatInstance: String?
@JsName("start_param")
val startParam: String?
@JsName("auth_date")
val authDate: MilliSeconds
@JsName("can_send_after")
val canSendAfter: MilliSeconds?
val hash: String
val signature: String
}