Skip to content

Commit a50f043

Browse files
committed
Fixes #89
1 parent d562a1c commit a50f043

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

src/telebot/private/utils.nim

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,6 @@ proc addData*(p: var MultipartData, name: string, content: auto) {.inline.} =
229229
p.addFiles({name: content[7..content.len-1]})
230230
else:
231231
p.add(name, content)
232-
elif content is ref:
233-
p.addData(name, content[])
234232
elif content is TelegramObject:
235233
when content is InputMediaSet:
236234
p.uploadInputMedia(content)

telebot.nimble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "2023.05.31"
1+
version = "2023.08.07"
22
author = "Huy Doan"
33
description = "Async Telegram Bot API Client"
44
license = "MIT"

0 commit comments

Comments
 (0)