Skip to content

Commit 276ca13

Browse files
committed
fix file_receive_bot example
1 parent 9333f69 commit 276ca13

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/file_receive_bot/file_receive_bot.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ proc updateHandler(bot: TeleBot, e: Update): Future[bool] {.async.} =
2929
msg0_text = fmt"file_name: {file_name}, mime_type: {mime_type}, file_id: {file_id}, file_size: {file_size}, file_path: {file_path}"
3030

3131
discard await bot.sendMessage(response.chat.id, msg0_text)
32-
discard await bot.sendMessage(response.chat.id, file_content)
32+
#discard await bot.sendMessage(response.chat.id, file_content)
3333

3434
let bot = newTeleBot(API_KEY)
3535

0 commit comments

Comments
 (0)