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