mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-11-07 12:23:14 +00:00
MediaGroupIdentifier is value class now
This commit is contained in:
1 parent
42e6013d95
commit
2da28cea01
4 files changed
+84
-44
No files matched your search
@@ -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