1
0
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:
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 * 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

View File

@ -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