mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2026-11-29 23:22:57 +00:00
shortcuts seconds24Hours and seconds7Days are consts for now
This commit is contained in:
1 parent
2531f3779e
commit
f93d9938de
1 file changed
+2
-2
+2
-2
@@ -7,8 +7,8 @@ import dev.inmo.tgbotapi.types.messageAutoDeleteTimeField
|
||||
import kotlinx.serialization.SerialName
|
||||
import kotlinx.serialization.Serializable
|
||||
|
||||
private val seconds24Hours: Seconds = 60 * 60 * 24
|
||||
private val seconds7Days: Seconds = seconds24Hours * 7
|
||||
private const val seconds24Hours: Seconds = 60 * 60 * 24
|
||||
private const val seconds7Days: Seconds = seconds24Hours * 7
|
||||
|
||||
@Serializable
|
||||
data class MessageAutoDeleteTimerChanged(
|
||||
|
||||
Reference in new issue
Block a user