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:
parent
d610a16cbd
commit
3cd1f3c3d4
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user