mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-10-25 22:16:58 +00:00
improvements in keyboards and add tgWebAppStartParamField
This commit is contained in:
1 parent
52f405c3b1
commit
233c789054
5 files changed
+26
-4
No files matched your search
@@ -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"
|
||||
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
package dev.inmo.tgbotapi.utils.extensions
|
||||
|
||||
import dev.inmo.tgbotapi.types.tgWebAppStartParamField
|
||||
|
||||
fun createWebAppStartParam(value: String) = tgWebAppStartParamField to value
|
||||
Reference in new issue
Block a user