2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-28 21:07:39 +00:00

271 Commits

Author SHA1 Message Date
Yago
d1700788a1 Simplify scripts a bit 2016-07-07 23:50:01 +02:00
Yago
12200eea4c prepublish:test script 2016-07-07 23:44:45 +02:00
Yago
94540c39bf Merge branch 'conorfennell-master' 2016-07-07 23:39:27 +02:00
Conor Fennell
96adb918c1 Create a stop method #81 2016-06-21 10:48:05 +01:00
Yago
335a5045d8 editMessageCaption URL 2016-06-07 09:50:11 +02:00
Yago
576b78f09e 0.23.3 2016-06-07 00:45:06 +02:00
Yago
ed6cb09474 Bind this.processUpdate to TelegramBot context 2016-06-07 00:44:21 +02:00
Yago
f0c2d19ff0 0.23.2 2016-06-07 00:28:54 +02:00
Yago
b28f30a2d2 Merge pull request #117 from w-site/bug/#116-get-409-error
Fix: If use switch between webHook or Polling you get an 409 (http://telegram.wiki/bots:boterrorcode) telegram error. #116
2016-06-07 00:28:05 +02:00
Yago
dbb3e16764 0.23.1 2016-06-07 00:18:27 +02:00
Yago
cd86c93438 Fixed processUpdate 2016-06-07 00:16:45 +02:00
Yago
5719e62d88 Upgrade babel-eslint and eslint. Closes #130 2016-06-06 23:51:11 +02:00
Yago
164fb16f44 0.23.0 2016-06-06 23:34:14 +02:00
Yago
2dfb2d801a Updated README 2016-06-06 23:34:03 +02:00
Yago
2266a39862 Merge branch 'evolun-sendDocument-fileoptions' 2016-06-06 23:24:39 +02:00
knock-in
c9556e3c98 Generate Docs from /src directly 2016-06-06 23:24:00 +02:00
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
Yago
9293fd4e67 Merge branch 'knock-in-master' 2016-06-06 23:20:34 +02:00
knock-in
b117a5b5ae Generate Docs from /src directly 2016-06-06 23:20:13 +02:00
Yago
1b2afa71fd 0.22.1 2016-06-06 23:11:24 +02:00
Yago
ca08e413e1 Merge pull request #110 from icdevin/patch-1
Fixes stream end event never being called
2016-06-06 23:08:13 +02:00
Yago
1dae6121f8 Merge branch 'icdevin-patch-1' 2016-06-06 23:07:40 +02:00
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.
2016-06-06 23:07:18 +02:00
Yago
cc3c206765 Updated readme 2016-06-06 22:57:06 +02:00
Yago
1b8928ca61 0.22.0 2016-06-06 22:55:17 +02:00
Yago
62035d3aa0 Merge branch 'tjhorner-bots-2.0' 2016-06-06 22:49:01 +02:00
TJ Horner
270b3ef50d Merge pull request #3 from icdevin/callback-query
Removes unnecessary done() calls in tests
2016-05-06 06:49:10 -07:00
evolun
42a2d24273 Eslint correction 2016-05-06 12:28:03 +02:00
Devin Doolin
a0c1d05441 Removes unnecessary done() calls in tests 2016-05-06 19:21:41 +09:00
TJ Horner
fb4dc91332 Merge pull request #2 from icdevin/callback-query
Further updates for Bots 2.0
2016-05-04 17:26:27 -07: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
evolun
763f717a04 Added the ability to specify the filename and the content type by sendDocument 2016-05-03 13:36:46 +02:00
sasali
91dcb2b9d8 Fix: If use switch between webHook or Polling you get an 409 (http://telegram.wiki/bots:boterrorcode) telegram error. 2016-05-02 12:39:02 -07:00
icdevin
20d174de0b 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-04-25 16:03:36 +09:00
TJ Horner
98bb9dfd09 Update for Telegram Bots 2.0
https://telegram.org/blog/bots-2-0
2016-04-11 20:42:32 -07: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