mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2025-09-16 13:49:26 +00:00
InlineQueryIdentifier is value class now
This commit is contained in:
@@ -11,7 +11,6 @@ import kotlin.jvm.JvmInline
|
||||
|
||||
typealias Identifier = Long
|
||||
typealias MessageIdentifier = MessageId
|
||||
typealias InlineQueryIdentifier = String
|
||||
typealias UpdateIdentifier = Long
|
||||
typealias MediaGroupIdentifier = String
|
||||
typealias ForwardSignature = String
|
||||
|
@@ -0,0 +1,10 @@
|
||||
package dev.inmo.tgbotapi.types
|
||||
|
||||
import kotlinx.serialization.Serializable
|
||||
import kotlin.jvm.JvmInline
|
||||
|
||||
@Serializable
|
||||
@JvmInline
|
||||
value class InlineQueryIdentifier(
|
||||
val string: String
|
||||
)
|
Reference in New Issue
Block a user