2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-27 04:19:18 +00:00

36 Commits

Author SHA1 Message Date
Devin Doolin
a0c1d05441 Removes unnecessary done() calls in tests 2016-05-06 19:21:41 +09:00
Devin Doolin
ae7ec074be Further updates for Bots 2.0
- Adds support for callback_query-type messages
- Adds a showAlert option to answerCallbackQuery to more-closely align with the real bot API
- Adds tests for message editing functionality
- Adds a global test timeout of 10s and adds done() calls to all tests for assurance
2016-05-04 06:48:49 +09:00
Yago
d883ebe6f2 Babel compile ES2015 to ES5 for publishing, support for old NodeJS versions. JSDoc can't parse class-properties, generate lib-doc. Run tests against lib. #90 2016-03-20 20:13:47 +01:00
AVVS
83e42201ee refactor: rewrite to babel, es6 & eslint 2016-03-17 13:02:25 +03:00
Yago
34e935e81b Check update_id in TelegramBotPolling test 2016-03-13 14:29:27 +01:00
Yago
bcafbfb0ac #TelegramBotPolling test a bit clear 2016-03-13 13:44:06 +01:00
Yago
610a989e69 downloadFile test 2016-03-13 11:32:11 +01:00
Yago
385590ef3f Test video Buffer 2016-01-04 23:34:13 +01:00
Yago
f2153a7754 Throw error if Unsupported Buffer file type. Test 'should send a video from a Buffer' 2016-01-03 17:03:04 +01:00
Yago
fd4cf4e353 Tests cases for #56 2016-01-03 12:54:45 +01:00
Yago
cfd32f47bf Method bot.onText 2015-10-10 17:54:11 +02:00
Yago
bb6a0bb3ff setWebHook allow sending certificate as param. WebHook Documentation 2015-09-27 13:05:46 +02:00
Yago
6a679b5644 jshint 2015-09-27 11:18:25 +02:00
Yago
c8a4fc6917 Can't import 'del' module. Use fs.unlinkSync instead. 2015-09-26 20:29:24 +02:00
Ivan Skorokhodov
14dbd12f68 Added downloadFile sugar method 2015-09-26 19:52:17 +03:00
Ivan Skorokhodov
6006ba4fd6 Added getFileLink method to TelegramBot and moved generating of urls to separate method _buildURL 2015-09-26 19:39:42 +03:00
Ivan Skorokhodov
e85f517e00 Added getFile method to TelegramBot 2015-09-26 17:46:06 +03:00
Patricio López
b34caa84c5 added sendVoice function 2015-09-15 17:55:02 -03:00
yago
00567a2f74 Separated polling to telegramPolling.js 2015-07-15 20:50:38 +02:00
yago
923e65c789 Separated WebHook 2015-07-13 00:24:49 +02:00
yago
5e1d13749d WebHook request bot token can be anywhere on the URL request. Tests 2015-07-12 16:50:07 +02:00
yago
25111f3fee Add catch function on test getUpdates mock 2015-07-12 12:32:10 +02:00
yago
957b1fd096 Merge branch 'master' of https://github.com/Illyism/node-telegram-bot-api into Illyism-master
Conflicts:
	src/telegram.js
	test/index.js
2015-07-09 23:13:05 +02:00
Ilias Ismanalijev
4192d38ec1 get user profile photos 2015-07-09 13:59:23 +02:00
Ilias Ismanalijev
e47fbc622e sendlocation 2015-07-09 13:31:23 +02:00
yago
264b554540 sendVideo method 2015-07-08 22:34:18 +02:00
yago
ebfe676ddd sendSticker method 2015-07-08 21:59:50 +02:00
yago
146157f648 Test #sendDocument into Telegram 2015-07-08 21:19:25 +02:00
Yago
3ed643fd24 Changed to sendDocument on test 'should send a document from id' 2015-07-07 14:28:50 +02:00
Riddler
ad8bf01f56 Add SendDocument Test 2015-07-07 13:58:20 +05:30
Riddler
16b9d2b695 Add SendDocument Test
Add SendDocument Test
2015-07-07 13:54:57 +05:30
Ilias Ismanalijev
82631f57c3 send chat action 2015-07-06 01:36:48 +02:00
yago
22814c8588 HTTPS WebHook test 2015-07-05 11:38:20 +02:00
Yago
0a1e6bbb7f Update index.js 2015-06-30 01:50:42 +02:00
Yago
6a091c307c Update index.js 2015-06-30 01:41:04 +02:00
yago
9beb32366d First commit 2015-06-29 00:37:40 +02:00