1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-26 03:58:44 +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.SerialName
import kotlinx.serialization.Serializable import kotlinx.serialization.Serializable
private val seconds24Hours: Seconds = 60 * 60 * 24 private const val seconds24Hours: Seconds = 60 * 60 * 24
private val seconds7Days: Seconds = seconds24Hours * 7 private const val seconds7Days: Seconds = seconds24Hours * 7
@Serializable @Serializable
data class MessageAutoDeleteTimerChanged( data class MessageAutoDeleteTimerChanged(