2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-29 13:27:44 +00:00

239 Commits

Author SHA1 Message Date
Yago
8bacecbbf3 0.22.1 2016-06-06 23:24:00 +02:00
Yago
5650ea58aa Updated readme 2016-06-06 23:24:00 +02:00
Yago
c728baee5d 0.22.0 2016-06-06 23:24:00 +02:00
Devin Doolin
2c606f6b48 Removes unnecessary done() calls in tests 2016-06-06 23:24:00 +02:00
Devin Doolin
3947683ad1 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-06-06 23:24:00 +02:00
icdevin
684691d779 Fixes stream end event never being called
For writable streams, like `http.ClientRequest`, there is no `end` event, only `finish`. Thus, `req.end` was never called and never sending a response.

This resulted in a nasty bug for WebHook users that basically rendered the library useless because if Telegram doesn't receive a response from the bot server, it will continue to queue and send requests until it does, or until 24 hours have passed.
2016-06-06 23:24:00 +02:00
TJ Horner
de6f0c8a14 Update for Telegram Bots 2.0
https://telegram.org/blog/bots-2-0
2016-06-06 23:24:00 +02:00
evolun
42a2d24273 Eslint correction 2016-05-06 12:28:03 +02:00
evolun
763f717a04 Added the ability to specify the filename and the content type by sendDocument 2016-05-03 13:36:46 +02:00
Yago
2498e44ed7 Update contributors 2016-03-20 20:15:47 +01:00
Yago
28e9c8b4c4 Generated doc 2016-03-20 20:14:56 +01: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
Yago
b46378d25b jsdoc2md class constructor #90 2016-03-20 20:03:09 +01:00
Yago
7f278ead1f Merge branch 'makeomatic-refactor/es6' 2016-03-20 18:45:16 +01:00
EXL
0701406d0f Update README.hbs
Fix typo in README,md generator
2016-03-20 18:28:15 +01:00
EXL
20358cf88f Update README.md
Fix typo
2016-03-20 18:28:15 +01:00
Yago
9f62226b85 Merge pull request #92 from EXL/patch-3
Update README.hbs
2016-03-18 00:28:00 +01:00
EXL
ee46da03dd Update README.hbs
Fix typo in README,md generator
2016-03-18 01:44:42 +06:00
Yago
297b2de84a Merge pull request #91 from EXL/patch-1
Update README.md
2016-03-17 20:40:24 +01:00
EXL
ef2085dd6f Update README.md
Fix typo
2016-03-18 01:35:28 +06:00
AVVS
6959377a76 feat(npmignore): reduce final bundle size 2016-03-17 13:18:37 +03:00
AVVS
83e42201ee refactor: rewrite to babel, es6 & eslint 2016-03-17 13:02:25 +03:00
Yago
b9649c00bb 0.21.1 2016-03-13 14:30:16 +01:00
Yago
5c2f6b17e3 Updated dependencies 2016-03-13 14:30:09 +01:00
Yago
34e935e81b Check update_id in TelegramBotPolling test 2016-03-13 14:29:27 +01:00
Yago
cee5ac46ea 0.21.0 2016-03-13 13:59:54 +01:00
Yago
18d47ce84a Updated contributors 2016-03-13 13:57:52 +01:00
Yago
85c3789e83 Merge branch 'master' of github.com:yagop/node-telegram-bot-api 2016-03-13 13:44:15 +01:00
Yago
bcafbfb0ac #TelegramBotPolling test a bit clear 2016-03-13 13:44:06 +01:00
Yago
5b93c4a4e1 Format TelegramBotPolling.prototype._getUpdates error on JSON.parse 2016-03-13 13:43:17 +01:00
Yago
178f9cd905 Update offset on polling everymessage 2016-03-13 13:42:46 +01:00
Yago
610a989e69 downloadFile test 2016-03-13 11:32:11 +01:00
Yago
c5f97ce524 Bind getFile response in getFileLink 2016-03-13 11:25:36 +01:00
Yago
6ed84b8b1c Merge pull request #80 from RafaelKr/master
URL-decoded filename when sending file from stream
2016-03-01 11:03:28 +01:00
Rafael Kr
d1e4fd11ee added module querystring
Module querystring wasn't included before.
2016-03-01 10:51:39 +01:00
Rafael Kr
54130e6df9 Use of safer function qs.unescape
I didn't know about that function, thank you. I've updated the code.
2016-03-01 10:47:09 +01:00
Rafael Kr
39c0ce66b9 URL-decoded filename when sending file from stream
This sends the file as "My File.ext" instead of "My%20File.ext".
2016-03-01 09:26:10 +01:00
Yago
8a09f77327 Release v0.20.1. v0.20.1 2016-02-01 22:20:26 +01:00
Yago
399dab4d77 throw error on polling 2016-02-01 22:19:56 +01:00
Yago
f10ba246d0 Update examples/replyToMessage.js with force_reply 2016-01-30 18:24:25 +01:00
Yago
1b1e8c7bec Updated README 2016-01-30 18:19:39 +01:00
Yago
41be1afb9c Updated onReplyToMessage doc 2016-01-30 18:19:03 +01:00
Yago
928cbbe95b options.polling.timeout=10 2016-01-30 18:14:07 +01:00
Yago
119bb95c8a Release v0.20.0. v0.20.0 2016-01-30 18:06:30 +01:00
Yago
b2a4e26945 Updated doc 2016-01-30 18:06:04 +01:00
Yago
d2c0ac6409 onReplyToMessage example 2016-01-30 18:02:24 +01:00
Yago
17cb062c96 onReplyToMessage 2016-01-30 18:02:09 +01:00
Yago
0d1db09c09 Travis node_js versions 2016-01-11 20:15:00 +01:00
Yago
8c681e0786 Release v0.19.2. v0.19.2 2016-01-11 18:57:00 +01:00
Yago
5b1bad7525 Fix foreach bug 2016-01-11 18:56:52 +01:00