mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-23 02:28:45 +00:00
now MessageAutoDeleteTimerChanged implementing ChannelEvent and GroupEvent
This commit is contained in:
parent
2a1e624641
commit
8daadcff95
@ -1,10 +1,11 @@
|
|||||||
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.ChatEvent
|
import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.ChannelEvent
|
||||||
|
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
|
||||||
) : ChatEvent
|
) : ChannelEvent, GroupEvent
|
||||||
|
Loading…
Reference in New Issue
Block a user