update readmes

This commit is contained in:
InsanusMokrassar committed 2026-08-21 15:51:06 +06:00
1 parent 016400a821
commit ce48393895
104 files changed
+2615 -333

No files matched your search

@@ -1,3 +1,4 @@
import dev.inmo.tgbotapi.types.CustomEmojiId
/** Fixed sample custom emoji used by both the Web App and its bot-assisted route. */
val CustomEmojiIdToSet = CustomEmojiId("5424939566278649034")
@@ -3,4 +3,5 @@ import dev.inmo.tgbotapi.types.request.RequestId
import kotlin.random.Random
import kotlin.random.nextUInt
/** Process-local request ID used when the bot saves its sample managed-bot button. */
val preparedSampleKeyboardRequestId = RequestId(Random.nextUInt().toUShort())
@@ -1,5 +1,11 @@
import kotlinx.serialization.Serializable
/**
* JSON body used by server routes that validate Telegram Web App initialization.
*
* @property data raw `initData` received by the browser Web App.
* @property hash hash exposed by the parsed, unsafe initialization data.
*/
@Serializable
data class WebAppDataWrapper(
val data: String,