Conor Fennell
96adb918c1
Create a stop method #81
10 years ago
Yago
335a5045d8
editMessageCaption URL
10 years ago
Yago
ed6cb09474
Bind this.processUpdate to TelegramBot context
10 years ago
Yago
cd86c93438
Fixed processUpdate
10 years ago
knock-in
c9556e3c98
Generate Docs from /src directly
10 years ago
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
10 years ago
TJ Horner
de6f0c8a14
Update for Telegram Bots 2.0
...
https://telegram.org/blog/bots-2-0
10 years ago
knock-in
b117a5b5ae
Generate Docs from /src directly
10 years ago
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.
10 years ago
evolun
42a2d24273
Eslint correction
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
evolun
763f717a04
Added the ability to specify the filename and the content type by sendDocument
10 years ago
TJ Horner
98bb9dfd09
Update for Telegram Bots 2.0
...
https://telegram.org/blog/bots-2-0
10 years ago
Yago
b46378d25b
jsdoc2md class constructor #90
10 years ago
AVVS
83e42201ee
refactor: rewrite to babel, es6 & eslint
10 years ago
Yago
c5f97ce524
Bind getFile response in getFileLink
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
41be1afb9c
Updated onReplyToMessage doc
10 years ago
Yago
928cbbe95b
options.polling.timeout=10
10 years ago
Yago
17cb062c96
onReplyToMessage
10 years ago
Yago
186d1e3a5c
Catch errors while parsing JSON
10 years ago
Yago
874feaf833
Update doc
10 years ago
crisbal
bfc51a9ab7
Added method to answer inline query
10 years ago
crisbal
b9bf9775cc
Added support for listening to inline requests
10 years ago
Yago
bfb047312b
Update docs
10 years ago
Yago
f2153a7754
Throw error if Unsupported Buffer file type. Test 'should send a video from a Buffer'
10 years ago
Yago
b46ea1d9a6
util.isBuffer(data) is deprecated https://nodejs.org/api/util.html#util_util_isbuffer_object
10 years ago
Vítor Augusto da Silva Vasconcellos
9e2a8321e9
Add Buffer support to _formatSendData
10 years ago
Yago
6a6111360b
JSON stringify reply_markup if not string
10 years ago
Yago
430adbba7f
Updated Readme
10 years ago
Yago
cfd32f47bf
Method bot.onText
10 years ago
Yago
bb6a0bb3ff
setWebHook allow sending certificate as param. WebHook Documentation
10 years ago
Yago
6a679b5644
jshint
10 years ago
Yago
48045b98ff
Changed query to form data on sendMessage, forwardMessage, sendChatAction, getUserProfilePhotos, sendLocation and getFile. Closes #19
10 years ago
Yago
0735cd7ce6
Added @private to _buildURL
10 years ago
Yago
2247d248c8
Chain promise on getFileLink and return a new one. Call reject on error
10 years ago
Yago
fffb129565
Better chain a 'then' on the getFile promise and return it.
10 years ago
Ivan Skorokhodov
14dbd12f68
Added downloadFile sugar method
10 years ago
Ivan Skorokhodov
6006ba4fd6
Added getFileLink method to TelegramBot and moved generating of urls to separate method _buildURL
10 years ago
Ivan Skorokhodov
e85f517e00
Added getFile method to TelegramBot
10 years ago
Patricio López
b34caa84c5
added sendVoice function
10 years ago
Anton
5cf5abef03
lastUpdate && initPolling
11 years ago
yago
4ca7ca4ebe
Some doc changes
11 years ago
yago
1dd81e4343
New events. 😄
11 years ago
yago
7b7191b464
Emits typo
11 years ago
yago
7481325bed
see api#getMe doc
11 years ago
yago
c704ab33d8
constructor options doc.
11 years ago
yago
037330feec
sendPhoto from URL with parameters
11 years ago