You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
node-telegram-bot-api/test
Gocho Mugo bf5ca1340b Closes #204: Fix handling fs.readStream.path if it's a buffer 9 years ago
..
README.md Add accompanying tests, minor fixes and updates for PR #158 9 years ago
bot.gif First commit 11 years ago
index.js Closes #204: Fix handling fs.readStream.path if it's a buffer 9 years ago
mocha.opts refactor: rewrite to babel, es6 & eslint 10 years ago
sticker.webp sendSticker method 11 years ago
video.mp4 sendVideo method 11 years ago

README.md

Running the tests:

export TEST_TELEGRAM_TOKEN=<YOUR_BOT_TOKEN>
# User Id which you want to send the messages.
export TEST_USER_ID=<USER_ID>
# Group Id which to use in some of the tests, e.g. for TelegramBot#getChat()
export TEST_GROUP_ID=<GROUP_ID>
npm run test