The TDLight Telegram Bot API is an actively enhanced fork of the original Bot API, featuring experimental user support, proxies, unlimited files size, and more.
Hey,
I'm setup local api with docker tdlight/tdlightbotapi:latest and set TELEGRAM_NO_FILE_LIMIT env variable.
But then I try to call getFile in User Mode i getting "Bad Request: file is too big" anyway.
With TELEGRAM_LOCAL that work as expected.
I check condition code from merge request and seem here logical miss:
Hey, I'm setup local api with docker
tdlight/tdlightbotapi:latest
and setTELEGRAM_NO_FILE_LIMIT
env variable. But then I try to callgetFile
inUser Mode
i getting"Bad Request: file is too big"
anyway. WithTELEGRAM_LOCAL
that work as expected.I check condition code from merge request and seem here logical miss:
Original
Expected: