Skip to content

Commit 851f233

Browse files
authored
fix: typo
1 parent 020f85f commit 851f233

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3274,7 +3274,7 @@ func prepareInputMediaParam(inputMedia interface{}, idx int) interface{} {
32743274
m.Thumb = fileAttach(fmt.Sprintf("attach://file-%d-thumb", idx))
32753275
}
32763276

3277-
return
3277+
return m
32783278
case InputMediaDocument:
32793279
if m.Media.NeedsUpload() {
32803280
m.Media = fileAttach(fmt.Sprintf("attach://file-%d", idx))

0 commit comments

Comments
 (0)