Skip to content

Commit

Permalink
Fixes #89
Browse files Browse the repository at this point in the history
  • Loading branch information
ba0f3 committed Aug 7, 2023
1 parent d562a1c commit a50f043
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/telebot/private/utils.nim
Expand Up @@ -229,8 +229,6 @@ proc addData*(p: var MultipartData, name: string, content: auto) {.inline.} =
p.addFiles({name: content[7..content.len-1]})
else:
p.add(name, content)
elif content is ref:
p.addData(name, content[])
elif content is TelegramObject:
when content is InputMediaSet:
p.uploadInputMedia(content)
Expand Down
2 changes: 1 addition & 1 deletion telebot.nimble
@@ -1,4 +1,4 @@
version = "2023.05.31"
version = "2023.08.07"
author = "Huy Doan"
description = "Async Telegram Bot API Client"
license = "MIT"
Expand Down

0 comments on commit a50f043

Please sign in to comment.