1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-15 13:19:30 +00:00

Merge branch 'master' into 1.0.0

This commit is contained in:
2022-05-05 14:58:07 +06:00
7 changed files with 55 additions and 10 deletions

View File

@@ -96,6 +96,8 @@ val telegramInlineModeGifPermittedMimeTypes by lazy {
)
}
const val tgWebAppStartParamField = "tgWebAppStartParam"
const val chatIdField = "chat_id"
const val senderChatIdField = "sender_chat_id"
const val messageIdField = "message_id"

View File

@@ -0,0 +1,5 @@
package dev.inmo.tgbotapi.utils.extensions
import dev.inmo.tgbotapi.types.tgWebAppStartParamField
fun createWebAppStartParam(value: String) = tgWebAppStartParamField to value