Skip to content

Commit fc172a2

Browse files
authored
Merge pull request #418 from pengrad/v8.3-send-video-test
Bot API 8.3: Fix sendVideo test
2 parents a1b18ad + 6c2dd9c commit fc172a2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: library/src/main/java/com/pengrad/telegrambot/model/Video.kt

+3-3
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ data class Video(
44
@get:JvmName("fileId") val fileId: String,
55
@get:JvmName("fileUniqueId") val fileUniqueId: String,
66

7-
@JvmSynthetic val width: Int,
8-
@JvmSynthetic val height: Int,
9-
@JvmSynthetic val duration: Int,
7+
@get:JvmSynthetic val width: Int,
8+
@get:JvmSynthetic val height: Int,
9+
@get:JvmSynthetic val duration: Int,
1010

1111
@get:JvmName("thumbnail") val thumbnail: PhotoSize? = null,
1212
@get:JvmName("cover") val cover: List<PhotoSize>? = null,

Diff for: library/src/main/java/com/pengrad/telegrambot/request/SendGift.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class SendGift private constructor(
2222
giftId = giftId
2323
)
2424

25-
@JvmSynthetic
25+
@JvmStatic
2626
fun fromChatId(chatId: Long, giftId: String) =
2727
SendGift(
2828
chatId = chatId,

0 commit comments

Comments
 (0)