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:
@@ -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())
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user