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

fixes in RequestId

This commit is contained in:
2023-02-05 22:29:21 +06:00
parent 0da0c4e894
commit e235280253
2 changed files with 2 additions and 28 deletions

View File

@@ -7,9 +7,9 @@ import kotlin.random.Random
@Serializable
@JvmInline
value class RequestId(
val float: Float
val float: Int
) {
companion object {
fun random() = RequestId(Random.nextFloat())
fun random() = RequestId(Random.nextInt())
}
}