mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-12-23 00:57:13 +00:00
fix mime_type of inline result document and video implementations
This commit is contained in:
parent
a6d0925cfd
commit
9f3d678528
@ -18,6 +18,8 @@ data class InlineQueryResultDocumentImpl(
|
||||
override val url: String,
|
||||
@SerialName(titleField)
|
||||
override val title: String,
|
||||
@SerialName(mimeTypeField)
|
||||
override val mimeType: String,
|
||||
@SerialName(thumbUrlField)
|
||||
@Optional
|
||||
override val thumbUrl: String? = null,
|
||||
@ -27,8 +29,6 @@ data class InlineQueryResultDocumentImpl(
|
||||
@SerialName(thumbHeightField)
|
||||
@Optional
|
||||
override val thumbHeight: Int? = null,
|
||||
@SerialName(mimeTypeField)
|
||||
override val mimeType: String? = null,
|
||||
@SerialName(descriptionField)
|
||||
@Optional
|
||||
override val description: String? = null,
|
||||
|
@ -19,7 +19,7 @@ data class InlineQueryResultVideoImpl(
|
||||
@SerialName(thumbUrlField)
|
||||
override val thumbUrl: String,
|
||||
@SerialName(mimeTypeField)
|
||||
override val mimeType: String? = null,
|
||||
override val mimeType: String,
|
||||
@SerialName(titleField)
|
||||
override val title: String,
|
||||
@SerialName(videoWidthField)
|
||||
|
Loading…
Reference in New Issue
Block a user