telegram-bot-lua
telegram-bot-lua copied to clipboard
How to run lua telegram bot behind a proxy ?
Hello, I am from China and I need to use the bot behind a proxy. I set the system proxy but it seems useless to the example bot. I have read issue #2 and it is not my problem. When I write telegram bot in python, my solution is like: updater = Updater(token=TOKEN, request_kwargs={'proxy_url': 'socks5://127.0.0.1:1080/'}) But I didn't find ways in this.
The output is like:
lua: /usr/local/share/lua/5.4/telegram-bot-lua/core.lua:34: attempt to index a boolean value (field 'info')
stack traceback:
/usr/local/share/lua/5.4/telegram-bot-lua/core.lua:34: in function 'telegram-bot-lua.core.configure'
main.lua:3: in main chunk
[C]: in ?