icdevin
d6ef1f9d97
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.
10 years ago
Yago
cc3c206765
Updated readme
10 years ago
Yago
1b8928ca61
0.22.0
10 years ago
Yago
62035d3aa0
Merge branch 'tjhorner-bots-2.0'
10 years ago
TJ Horner
270b3ef50d
Merge pull request #3 from icdevin/callback-query
...
Removes unnecessary done() calls in tests
10 years ago
Devin Doolin
a0c1d05441
Removes unnecessary done() calls in tests
10 years ago
TJ Horner
fb4dc91332
Merge pull request #2 from icdevin/callback-query
...
Further updates for Bots 2.0
10 years ago
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
10 years ago
TJ Horner
98bb9dfd09
Update for Telegram Bots 2.0
...
https://telegram.org/blog/bots-2-0
10 years ago
Yago
2498e44ed7
Update contributors
10 years ago
Yago
28e9c8b4c4
Generated doc
10 years ago
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
10 years ago
Yago
b46378d25b
jsdoc2md class constructor #90
10 years ago
Yago
7f278ead1f
Merge branch 'makeomatic-refactor/es6'
10 years ago
EXL
0701406d0f
Update README.hbs
...
Fix typo in README,md generator
10 years ago
EXL
20358cf88f
Update README.md
...
Fix typo
10 years ago
Yago
9f62226b85
Merge pull request #92 from EXL/patch-3
...
Update README.hbs
10 years ago
EXL
ee46da03dd
Update README.hbs
...
Fix typo in README,md generator
10 years ago
Yago
297b2de84a
Merge pull request #91 from EXL/patch-1
...
Update README.md
10 years ago
EXL
ef2085dd6f
Update README.md
...
Fix typo
10 years ago
AVVS
6959377a76
feat(npmignore): reduce final bundle size
10 years ago
AVVS
83e42201ee
refactor: rewrite to babel, es6 & eslint
10 years ago
Yago
b9649c00bb
0.21.1
10 years ago
Yago
5c2f6b17e3
Updated dependencies
10 years ago
Yago
34e935e81b
Check update_id in TelegramBotPolling test
10 years ago
Yago
cee5ac46ea
0.21.0
10 years ago
Yago
18d47ce84a
Updated contributors
10 years ago
Yago
85c3789e83
Merge branch 'master' of github.com:yagop/node-telegram-bot-api
10 years ago
Yago
bcafbfb0ac
#TelegramBotPolling test a bit clear
10 years ago
Yago
5b93c4a4e1
Format TelegramBotPolling.prototype._getUpdates error on JSON.parse
10 years ago
Yago
178f9cd905
Update offset on polling everymessage
10 years ago
Yago
610a989e69
downloadFile test
10 years ago
Yago
c5f97ce524
Bind getFile response in getFileLink
10 years ago
Yago
6ed84b8b1c
Merge pull request #80 from RafaelKr/master
...
URL-decoded filename when sending file from stream
10 years ago
Rafael Kr
d1e4fd11ee
added module querystring
...
Module querystring wasn't included before.
10 years ago
Rafael Kr
54130e6df9
Use of safer function qs.unescape
...
I didn't know about that function, thank you. I've updated the code.
10 years ago
Rafael Kr
39c0ce66b9
URL-decoded filename when sending file from stream
...
This sends the file as "My File.ext" instead of "My%20File.ext".
10 years ago
Yago
8a09f77327
Release v0.20.1.
10 years ago
Yago
399dab4d77
throw error on polling
10 years ago
Yago
f10ba246d0
Update examples/replyToMessage.js with force_reply
10 years ago
Yago
1b1e8c7bec
Updated README
10 years ago
Yago
41be1afb9c
Updated onReplyToMessage doc
10 years ago
Yago
928cbbe95b
options.polling.timeout=10
10 years ago
Yago
119bb95c8a
Release v0.20.0.
10 years ago
Yago
b2a4e26945
Updated doc
10 years ago
Yago
d2c0ac6409
onReplyToMessage example
10 years ago
Yago
17cb062c96
onReplyToMessage
10 years ago
Yago
0d1db09c09
Travis node_js versions
10 years ago
Yago
8c681e0786
Release v0.19.2.
10 years ago
Yago
5b1bad7525
Fix foreach bug
10 years ago