1
0
mirror of https://github.com/InsanusMokrassar/TelegramBotAPI.git synced 2024-12-22 16:47:13 +00:00

fix parseMode of InputTextMessageContent

This commit is contained in:
InsanusMokrassar 2019-02-17 18:53:00 +08:00
parent d610a16cbd
commit 3cd1f3c3d4
2 changed files with 3 additions and 1 deletions

View File

@ -18,6 +18,7 @@
* Now `MediaGroupMessage` is `CommonMessage` with `MediaGroupContent` content
* Added extensions `replyTo`, `forwarded` and `chat` for `List<BaseMessageUpdated>` for comfortable
work with media groups lists
* Fix `parseMode` of `InputTextMessageContent`
## 0.9.0

View File

@ -14,7 +14,8 @@ data class InputTextMessageContent(
@SerialName(messageTextField)
override val caption: String,
@SerialName(parseModeField)
override val parseMode: ParseMode,
@Optional
override val parseMode: ParseMode? = null,
@SerialName(disableWebPagePreviewField)
@Optional
override val disableWebPagePreview: Boolean? = null