node-telegram-bot-api
node-telegram-bot-api copied to clipboard
Telegram Bot API for NodeJS
Hi there. Which proper way to manage user session with the library? I want something like wizard with inline_keyboard, i don't know how to track in which node current user...
Hi, I am getting this error even with the simple example script. ```sh DEBUG=* node test.js has resulted in the following lines, node-telegram-bot-api polling with options: {"offset":0,"timeout":10} +0ms node-telegram-bot-api HTTP...
> Bug Report I have read: * [Usage information](https://github.com/yagop/node-telegram-bot-api/tree/master/doc/usage.md) * [Help information](https://github.com/yagop/node-telegram-bot-api/tree/master/doc/help.md) I am using the latest version of the library. ### Expected Behavior After calling [`stopPolling`](https://github.com/yagop/node-telegram-bot-api/blob/release/doc/api.md#TelegramBot+stopPolling) no listener should...
Every now and then my bot stops working, although the process is still up and running. When it happens, the last log message is always a polling error. The last...
I have read: * [Usage information](https://github.com/yagop/node-telegram-bot-api/tree/master/doc/usage.md) * [Help information](https://github.com/yagop/node-telegram-bot-api/tree/master/doc/help.md) I am using the latest version of the library. ### Expected Behavior I'm using sendMediaGroup with buffers. ``` const fileOpts =...
> Bug Report I have read: * [Usage information](https://github.com/yagop/node-telegram-bot-api/tree/master/doc/usage.md) * [Help information](https://github.com/yagop/node-telegram-bot-api/tree/master/doc/help.md) I am using the latest version of the library. ### Expected Behavior ### Actual Behavior ### Steps to...
One of our users got an exception like https://github.com/iobroker-community-adapters/ioBroker.telegram/issues/152 When I check your code you simply throw errors in asny methods like https://github.com/yagop/node-telegram-bot-api/blob/master/src/telegram.js#L283 ... it is near to impossible to...
I have added two InlineKeyboardButton with _login_url_ in a message. When I click on one of them the bot doesn't receive any inline_query message, so I added also the field...
I just simply run a demo code on a US VPS. ``` const bot = new TelegramBot(token, {polling: true}); bot.on('message', function(msg) { if (msg.new_chat_members != undefined) { bot.sendMessage(msg.chat.id, msg.new_chat_member.username +...
Question I got this error response when calling up `https://api.telegram.org/bot/getWebhookInfo` I set up webhook options ```js const webHookOptions = { port: 443 } // then in below await bot.setWebHook(`${WEBHOOK_URL}`) ```