mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 08:13:47 +00:00
fixes in events
This commit is contained in:
parent
8764f18ca8
commit
e4ce6f8fc7
@ -10,6 +10,8 @@
|
||||
* `TextContent#fullEntitiesList` has been deprecated
|
||||
* Now `TextContent` implements `TextedInput`
|
||||
* `TextContent#entities` has been deprecated
|
||||
* `GroupEventMessage` now overrides `chatEvent` with type `GroupEvent`
|
||||
* `SupergroupEventMessage` now overrides `chatEvent` with type `SupergroupEvent`
|
||||
|
||||
## 0.30.3
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
package dev.inmo.tgbotapi.types.message.ChatEvents.abstracts
|
||||
|
||||
interface SupergroupEvent: ChatEvent
|
||||
interface SupergroupEvent: GroupEvent
|
@ -1,3 +1,7 @@
|
||||
package dev.inmo.tgbotapi.types.message.abstracts
|
||||
|
||||
interface GroupEventMessage : ChatEventMessage, FromUserMessage
|
||||
import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.GroupEvent
|
||||
|
||||
interface GroupEventMessage : ChatEventMessage, FromUserMessage {
|
||||
override val chatEvent: GroupEvent
|
||||
}
|
||||
|
@ -1,3 +1,7 @@
|
||||
package dev.inmo.tgbotapi.types.message.abstracts
|
||||
|
||||
interface SupergroupEventMessage : GroupEventMessage
|
||||
import dev.inmo.tgbotapi.types.message.ChatEvents.abstracts.SupergroupEvent
|
||||
|
||||
interface SupergroupEventMessage : GroupEventMessage {
|
||||
override val chatEvent: SupergroupEvent
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user