From b882ae3ac3a141dc356cf6cf30ccfb59de501873 Mon Sep 17 00:00:00 2001 From: InsanusMokrassar Date: Tue, 9 Mar 2021 21:35:53 +0600 Subject: [PATCH] now MessageAutoDeleteTimerChanged implementing ChannelEvent and GroupEvent --- .../message/ChatEvents/MessageAutoDeleteTimerChanged.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 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 b87f4718bc..3efc8f9893 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,10 +1,11 @@ package dev.inmo.tgbotapi.types.message.ChatEvents import dev.inmo.tgbotapi.types.Seconds -import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.ChatEvent +import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.ChannelEvent +import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.GroupEvent import kotlinx.serialization.Serializable @Serializable data class MessageAutoDeleteTimerChanged( val newAutoDeleteTime: Seconds // TODO:: check that it is seconds -) : ChatEvent +) : ChannelEvent, GroupEvent