1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-12-27 02:57:13 +00:00

shortcuts seconds24Hours and seconds7Days are consts for now

This commit is contained in:
InsanusMokrassar 2021-03-09 22:06:20 +06:00
parent bc21a680bc
commit 838f62aa84

View File

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