1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2025-09-16 13:49:26 +00:00

fill changelog and fix several issues

This commit is contained in:
2023-02-06 12:41:19 +06:00
parent 8e02a702f1
commit f81d28dd5f
4 changed files with 35 additions and 2 deletions

View File

@@ -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())

View File

@@ -1,5 +1,8 @@
package dev.inmo.tgbotapi.types.request
import dev.inmo.tgbotapi.utils.internal.ClassCastsIncluded
@ClassCastsIncluded
sealed interface RequestResponse {
val requestId: RequestId
}