mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 08:13:47 +00:00
fix parseMode of InputTextMessageContent
This commit is contained in:
parent
d610a16cbd
commit
3cd1f3c3d4
@ -18,6 +18,7 @@
|
|||||||
* Now `MediaGroupMessage` is `CommonMessage` with `MediaGroupContent` content
|
* Now `MediaGroupMessage` is `CommonMessage` with `MediaGroupContent` content
|
||||||
* Added extensions `replyTo`, `forwarded` and `chat` for `List<BaseMessageUpdated>` for comfortable
|
* Added extensions `replyTo`, `forwarded` and `chat` for `List<BaseMessageUpdated>` for comfortable
|
||||||
work with media groups lists
|
work with media groups lists
|
||||||
|
* Fix `parseMode` of `InputTextMessageContent`
|
||||||
|
|
||||||
## 0.9.0
|
## 0.9.0
|
||||||
|
|
||||||
|
@ -14,7 +14,8 @@ data class InputTextMessageContent(
|
|||||||
@SerialName(messageTextField)
|
@SerialName(messageTextField)
|
||||||
override val caption: String,
|
override val caption: String,
|
||||||
@SerialName(parseModeField)
|
@SerialName(parseModeField)
|
||||||
override val parseMode: ParseMode,
|
@Optional
|
||||||
|
override val parseMode: ParseMode? = null,
|
||||||
@SerialName(disableWebPagePreviewField)
|
@SerialName(disableWebPagePreviewField)
|
||||||
@Optional
|
@Optional
|
||||||
override val disableWebPagePreview: Boolean? = null
|
override val disableWebPagePreview: Boolean? = null
|
||||||
|
Loading…
Reference in New Issue
Block a user