Skip to content

Commit

Permalink
Merge pull request #418 from pengrad/v8.3-send-video-test
Browse files Browse the repository at this point in the history
Bot API 8.3: Fix sendVideo test
  • Loading branch information
pengrad authored Feb 20, 2025
2 parents a1b18ad + 6c2dd9c commit fc172a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions library/src/main/java/com/pengrad/telegrambot/model/Video.kt
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ data class Video(
@get:JvmName("fileId") val fileId: String,
@get:JvmName("fileUniqueId") val fileUniqueId: String,

@JvmSynthetic val width: Int,
@JvmSynthetic val height: Int,
@JvmSynthetic val duration: Int,
@get:JvmSynthetic val width: Int,
@get:JvmSynthetic val height: Int,
@get:JvmSynthetic val duration: Int,

@get:JvmName("thumbnail") val thumbnail: PhotoSize? = null,
@get:JvmName("cover") val cover: List<PhotoSize>? = null,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class SendGift private constructor(
giftId = giftId
)

@JvmSynthetic
@JvmStatic
fun fromChatId(chatId: Long, giftId: String) =
SendGift(
chatId = chatId,
Expand Down

0 comments on commit fc172a2

Please sign in to comment.