[0.20.3] hotfix in LeftChatMember parents

This commit is contained in:
InsanusMokrassar 2019-12-16 23:24:40 +06:00
parent ff47168fdc
commit 680e960037
3 changed files with 7 additions and 3 deletions

View File

@ -28,6 +28,10 @@
* New exception type `MessageToEditNotFoundException` was added * New exception type `MessageToEditNotFoundException` was added
* Now exceptions in requests will be caught correctly * Now exceptions in requests will be caught correctly
### 0.20.3
* Now `LeftChatMamber` is a `CommonEvent`
## 0.19.0 ImplicitReflection removing ## 0.19.0 ImplicitReflection removing
* Total rework of serialization for requests. Now all `SimpleRequest` children have: * Total rework of serialization for requests. Now all `SimpleRequest` children have:

View File

@ -17,7 +17,7 @@ plugins {
id "org.jetbrains.kotlin.plugin.serialization" version "$kotlin_version" id "org.jetbrains.kotlin.plugin.serialization" version "$kotlin_version"
} }
project.version = "0.20.2" project.version = "0.20.3"
project.group = "com.github.insanusmokrassar" project.group = "com.github.insanusmokrassar"
apply from: "publish.gradle" apply from: "publish.gradle"

View File

@ -1,8 +1,8 @@
package com.github.insanusmokrassar.TelegramBotAPI.types.message.ChatEvents package com.github.insanusmokrassar.TelegramBotAPI.types.message.ChatEvents
import com.github.insanusmokrassar.TelegramBotAPI.types.User import com.github.insanusmokrassar.TelegramBotAPI.types.User
import com.github.insanusmokrassar.TelegramBotAPI.types.message.ChatEvents.abstracts.GroupEvent import com.github.insanusmokrassar.TelegramBotAPI.types.message.ChatEvents.abstracts.CommonEvent
data class LeftChatMember( data class LeftChatMember(
val user: User val user: User
): GroupEvent ): CommonEvent