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:
parent
bc21a680bc
commit
838f62aa84
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user