1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-11-27 20:48:44 +00:00

now MessageAutoDeleteTimerChanged implementing ChannelEvent and GroupEvent

This commit is contained in:
InsanusMokrassar 2021-03-09 21:37:25 +06:00
parent b882ae3ac3
commit 3c8e5e61f2

View File

@ -1,11 +1,10 @@
package dev.inmo.tgbotapi.types.message.ChatEvents package dev.inmo.tgbotapi.types.message.ChatEvents
import dev.inmo.tgbotapi.types.Seconds import dev.inmo.tgbotapi.types.Seconds
import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.ChannelEvent import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.*
import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.GroupEvent
import kotlinx.serialization.Serializable import kotlinx.serialization.Serializable
@Serializable @Serializable
data class MessageAutoDeleteTimerChanged( data class MessageAutoDeleteTimerChanged(
val newAutoDeleteTime: Seconds // TODO:: check that it is seconds val newAutoDeleteTime: Seconds // TODO:: check that it is seconds
) : ChannelEvent, GroupEvent ) : ChannelEvent, GroupEvent, SupergroupEvent