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
Jérémy Gotteland
527b469dc8
Fixed a few typos
2016-05-13 16:20:36 +02:00
Jérémy Gotteland
3eaf377024
Added new methods sendVenue and sendContact
2016-05-13 16:16:23 +02:00
Iiro Jäppinen
5633aa97bd
add test for the sendVenue method
...
This test uses the same location as the #sendLocation test, while providing info on the venue (The Village Shopping Centre).
2016-05-06 21:05:47 +03:00
Iiro Jäppinen
9d25ceb3c4
add the sendVenue method
...
This method was added to the Telegram Bot API on April 9, 2016 in the Bot API 2.0 update. See https://core.telegram.org/bots/api#sendvenue for more info.
2016-05-06 21:03:04 +03: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
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