mirror of
https://github.com/InsanusMokrassar/TelegramBotAPI.git
synced 2024-11-22 08:13:47 +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,
|
override val url: String,
|
||||||
@SerialName(titleField)
|
@SerialName(titleField)
|
||||||
override val title: String,
|
override val title: String,
|
||||||
|
@SerialName(mimeTypeField)
|
||||||
|
override val mimeType: String,
|
||||||
@SerialName(thumbUrlField)
|
@SerialName(thumbUrlField)
|
||||||
@Optional
|
@Optional
|
||||||
override val thumbUrl: String? = null,
|
override val thumbUrl: String? = null,
|
||||||
@ -27,8 +29,6 @@ data class InlineQueryResultDocumentImpl(
|
|||||||
@SerialName(thumbHeightField)
|
@SerialName(thumbHeightField)
|
||||||
@Optional
|
@Optional
|
||||||
override val thumbHeight: Int? = null,
|
override val thumbHeight: Int? = null,
|
||||||
@SerialName(mimeTypeField)
|
|
||||||
override val mimeType: String? = null,
|
|
||||||
@SerialName(descriptionField)
|
@SerialName(descriptionField)
|
||||||
@Optional
|
@Optional
|
||||||
override val description: String? = null,
|
override val description: String? = null,
|
||||||
|
@ -19,7 +19,7 @@ data class InlineQueryResultVideoImpl(
|
|||||||
@SerialName(thumbUrlField)
|
@SerialName(thumbUrlField)
|
||||||
override val thumbUrl: String,
|
override val thumbUrl: String,
|
||||||
@SerialName(mimeTypeField)
|
@SerialName(mimeTypeField)
|
||||||
override val mimeType: String? = null,
|
override val mimeType: String,
|
||||||
@SerialName(titleField)
|
@SerialName(titleField)
|
||||||
override val title: String,
|
override val title: String,
|
||||||
@SerialName(videoWidthField)
|
@SerialName(videoWidthField)
|
||||||
|
Loading…
Reference in New Issue
Block a user