mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-10-29 07:53:04 +00:00
fixes in RequestId
This commit is contained in:
1 parent
0da0c4e894
commit
e235280253
2 files changed
+2
-28
No files matched your search
@@ -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