mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 08:13:47 +00:00
fixes in MessageContent#serializationModule
This commit is contained in:
parent
b4c41d7dd8
commit
6ebf4ff652
@ -2,6 +2,9 @@
|
||||
|
||||
## 0.38.15
|
||||
|
||||
* `Core`:
|
||||
* Fixes in `MessageContent#serializationModule`
|
||||
|
||||
## 0.38.14
|
||||
|
||||
__This update contains including of [Telegram Bot API 6.0](https://core.telegram.org/bots/api-changelog#april-16-2022)__
|
||||
|
@ -26,7 +26,7 @@ internal inline fun <BC, T, I1, I2> CustomBehaviourContextAndTwoTypesReceiver<BC
|
||||
): CustomBehaviourContextAndTypeReceiver<BC, T, I2> = { invoke(this, i1, it) }
|
||||
|
||||
/**
|
||||
* This class contains all necessary tools for work with bots and especially for [buildBehaviour]
|
||||
* This class contains all necessary tools for work with bots and especially [buildBehaviour]
|
||||
*
|
||||
* @see DefaultBehaviourContext
|
||||
*/
|
||||
|
@ -20,8 +20,7 @@ interface MessageContent: ResendableContent {
|
||||
subclass(DiceContent::class)
|
||||
subclass(TextContent::class)
|
||||
|
||||
subclass(LiveLocationContent::class)
|
||||
subclass(StaticLocationContent::class)
|
||||
subclass(LocationContent::class, LocationContentSerializer)
|
||||
|
||||
subclass(PhotoContent::class)
|
||||
subclass(VideoContent::class)
|
||||
|
Loading…
Reference in New Issue
Block a user