mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-26 03:58:44 +00:00
fix in MessageAutoDeleteTimerChanged
This commit is contained in:
parent
596176ee93
commit
4d9be1a995
@ -13,7 +13,7 @@ private const val seconds7Days: Seconds = seconds24Hours * 7
|
|||||||
data class MessageAutoDeleteTimerChanged(
|
data class MessageAutoDeleteTimerChanged(
|
||||||
@SerialName(messageAutoDeleteTimeField)
|
@SerialName(messageAutoDeleteTimeField)
|
||||||
val newAutoDeleteTime: Seconds // TODO:: check that it is seconds
|
val newAutoDeleteTime: Seconds // TODO:: check that it is seconds
|
||||||
) : ChannelEvent, GroupEvent, SupergroupEvent
|
) : ChannelEvent, GroupEvent, SupergroupEvent, PrivateEvent
|
||||||
|
|
||||||
val MessageAutoDeleteTimerChanged.isOff
|
val MessageAutoDeleteTimerChanged.isOff
|
||||||
get() = newAutoDeleteTime == 0
|
get() = newAutoDeleteTime == 0
|
||||||
|
Loading…
Reference in New Issue
Block a user