mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-11-07 12:23:14 +00:00
fill changelog and fix several issues
This commit is contained in:
1 parent
8e02a702f1
commit
f81d28dd5f
4 files changed
+35
-2
No files matched your search
@@ -7,7 +7,7 @@ import kotlin.random.Random
|
||||
@Serializable
|
||||
@JvmInline
|
||||
value class RequestId(
|
||||
val float: Int
|
||||
val int: Int
|
||||
) {
|
||||
companion object {
|
||||
fun random() = RequestId(Random.nextInt())
|
||||
|
||||
@@ -1,5 +1,8 @@
|
||||
package dev.inmo.tgbotapi.types.request
|
||||
|
||||
import dev.inmo.tgbotapi.utils.internal.ClassCastsIncluded
|
||||
|
||||
@ClassCastsIncluded
|
||||
sealed interface RequestResponse {
|
||||
val requestId: RequestId
|
||||
}
|
||||
Reference in new issue
Block a user