Skip to content

Commit 8a154ea

Browse files
authored
Update configs.go
1 parent 269bc52 commit 8a154ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

configs.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3273,6 +3273,8 @@ func prepareInputMediaParam(inputMedia interface{}, idx int) interface{} {
32733273
if m.Thumb != nil && m.Thumb.NeedsUpload() {
32743274
m.Thumb = fileAttach(fmt.Sprintf("attach://file-%d-thumb", idx))
32753275
}
3276+
3277+
return
32763278
case InputMediaDocument:
32773279
if m.Media.NeedsUpload() {
32783280
m.Media = fileAttach(fmt.Sprintf("attach://file-%d", idx))

0 commit comments

Comments
 (0)