1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-16 13:49:26 +00:00

WebAppQueryId is value class now

This commit is contained in:
2024-03-16 20:10:05 +06:00
parent 3f988d1529
commit 1b506cb820
5 changed files with 49 additions and 8 deletions

View File

@@ -31,7 +31,7 @@ typealias FoursquareType = String
typealias GooglePlaceId = String
typealias GooglePlaceType = String
typealias MembersLimit = Int
typealias WebAppQueryId = String
@Serializable
@JvmInline
value class CustomEmojiId(

View File

@@ -0,0 +1,10 @@
package dev.inmo.tgbotapi.types
import kotlinx.serialization.Serializable
import kotlin.jvm.JvmInline
@Serializable
@JvmInline
value class WebAppQueryId(
val string: String
)