mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-11-07 12:23:14 +00:00
CallbackQueryIdentifier is value class now
This commit is contained in:
1 parent
2da28cea01
commit
3f988d1529
6 files changed
+85
-45
No files matched your search
+10
@@ -0,0 +1,10 @@
|
||||
package dev.inmo.tgbotapi.types
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlin.jvm.JvmInline
|
||||
|
||||
@Serializable
|
||||
@JvmInline
|
||||
value class CallbackQueryIdentifier(
|
||||
val string: String
|
||||
)
|
||||
@@ -15,7 +15,6 @@ typealias UpdateIdentifier = Long
|
||||
typealias ForwardSignature = String
|
||||
typealias ForwardSenderName = String
|
||||
typealias AuthorSignature = ForwardSignature
|
||||
typealias CallbackQueryIdentifier = String
|
||||
typealias PaymentQueryIdentifier = String
|
||||
typealias PreCheckoutQueryId = String
|
||||
typealias ShippingQueryIdentifier = String
|
||||
|
||||
Reference in new issue
Block a user