slimbot
slimbot copied to clipboard
Telegram Bot API for Node.js
Both [Request](https://github.com/request/request/issues/3142) and [request-promise](https://github.com/request/request-promise#readme) have been deprecated. [Alternatives to consider](https://github.com/request/request/issues/3143).
Some commands has been renamed, like https://core.telegram.org/bots/api#banchatmember which is kinda useful :) https://core.telegram.org/bots/api here there is updates
Title says it all. Maybe [node-telegram-bot-api](https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/node-telegram-bot-api/index.d.ts)'s types can be used as a template. Then it is not needed to model the whole Telegram API again (just the methods specific to...
Hi, i'm trying to use `sendMediaGroup` functionality but it returns an error: ``` let opts = { parse_mode: "html", disable_web_page_preview: false, disable_notification: false, caption: [firstPage.subtitle, '---', secondPage.subtitle].join('\n') }; await Telegram.sendMediaGroup(CHAT_ID,...
Is there any guide or examples of using webhooks for slimbot? I have a simple TG bot that I used slimbot for and it runs fine locally, but when I...
The function retuned the wrong callback. Bug fixes: return this._request ('answerShippingQuery', params, callback); ^ ReferenceError: callback is not defined Fix #50
I get an error when trying to respond to an event "pre_checkout_query". My Code ``` slimbot.on('pre_checkout_query', async payment => { console.log(payment); if (payment.invoice_payload.includes('pay')){ let user = await database.select('*').from('users').where({telegram_id: payment.from.id}); if...
Bumps [minimist](https://github.com/minimistjs/minimist) and [mkdirp](https://github.com/isaacs/node-mkdirp). These dependencies needed to be updated together. Updates `minimist` from 1.2.5 to 1.2.8 Changelog Sourced from minimist's changelog. v1.2.8 - 2023-02-09 Merged [Fix] Fix long option...
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge`: avoid a crash with a null target and a truthy...