From 8bb60bea341384fe90d1b667bcc05c67f2b2a279 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Tue, 9 Mar 2021 21:37:25 +0600 Subject: [PATCH] now MessageAutoDeleteTimerChanged implementing ChannelEvent and GroupEvent --- .../message/ChatEvents/MessageAutoDeleteTimerChanged.kt | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChatEvents/MessageAutoDeleteTimerChanged.kt b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChatEvents/MessageAutoDeleteTimerChanged.kt index 3efc8f9893..e54c53fdd3 100644 --- a/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChatEvents/MessageAutoDeleteTimerChanged.kt +++ b/tgbotapi.core/src/commonMain/kotlin/dev/inmo/tgbotapi/types/message/ChatEvents/MessageAutoDeleteTimerChanged.kt @@ -1,11 +1,10 @@ package dev.inmo.tgbotapi.types.message.ChatEvents import dev.inmo.tgbotapi.types.Seconds -import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.ChannelEvent -import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.GroupEvent +import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.* import kotlinx.serialization.Serializable @Serializable data class MessageAutoDeleteTimerChanged( val newAutoDeleteTime: Seconds // TODO:: check that it is seconds -) : ChannelEvent, GroupEvent +) : ChannelEvent, GroupEvent, SupergroupEvent