GochoMugo
306b492ebf
[pr] PR #169 : Merge branch 'pr/169'
9 years ago
GochoMugo
2b5dfe0e84
[pr] Merge branch 'fix-debug-prints' of https://github.com/oflisback/node-telegram-bot-api into pr-169
9 years ago
Gocho Mugo
775977e564
Merge PR #213 from jishnu7/games
...
Feature:
* Add `getGameHighScores`
9 years ago
Gocho Mugo
8555ab64f8
Merge PR #216 from GingerPlusPlus/master
...
Feature:
* Add option to ignore further regexes after match is found
9 years ago
GingerPlusPlus
0fb142f6ac
Added onlyFirstMatch option
9 years ago
Gocho Mugo
54e34636f9
Merge PR #211 from desunit/master
...
Closes issues #202 and #207 .
9 years ago
Jishnu Mohan
2fa3f68d61
adding getGameHighScores
9 years ago
Sergey Bogdanov
ae2530583d
updated request-promise package to eliminate memory leaks
9 years ago
Yago
00d74d13c8
Create CONTRIBUTING.md
9 years ago
Yago
58566d2df5
0.24.0
9 years ago
Yago
2559f6d677
Revert "Fix ES6 syntax errors"
...
This reverts commit 0ed1efedfb .
9 years ago
GochoMugo
0ed1efedfb
Fix ES6 syntax errors
9 years ago
GochoMugo
75b36abfeb
Fix errors reported by our linter
9 years ago
GochoMugo
eae1999ad1
Closes #191 : Add 'edited_message' event
9 years ago
GochoMugo
8dc3fe82ef
Add 'edited_message' event
...
Notes:
Merge branch 'master' of https://github.com/chris54721/node-telegram-bot-api into pr/191
References:
* PR #191 : https://github.com/yagop/node-telegram-bot-api/pull/191
9 years ago
GochoMugo
db3c5c3cc3
Run test for TelegramBot#_formatSendData() on supported Node.js versions
...
Bug:
The test for `TelegramBot#_formatSendData()` is only applicable on
newer versions of Node.js (v6+) that support passing a Buffer
representation of the path to `fs.createReadStream()`.
Fix:
If the runtime does NOT supports passing the Buffer argument, do
NOT run the test on it. This is safe since we are sure that
`fs.ReadStream.path` will never be a Buffer on the runtime being
tested.
9 years ago
Gocho Mugo
bf5ca1340b
Closes #204 : Fix handling fs.readStream.path if it's a buffer
9 years ago
GochoMugo
d35d0ea329
Closes #201 : Add initial support for games
9 years ago
GochoMugo
12770e6e95
Add initial support for games
...
Notes:
Merge branch 'support-games' of https://github.com/jishnu7/node-telegram-bot-api into pr/201
References:
* PR #201 : https://github.com/yagop/node-telegram-bot-api/pull/201
9 years ago
GochoMugo
ce4decebd8
Closes #186 : Add TelegramBot#leaveChat() method
9 years ago
GochoMugo
5a11cce18d
Accompanying doc-updates for PR #186
9 years ago
GochoMugo
394f363465
Implement 'leaveChat'
...
Notes:
Merge branch 'feature/leaveChat' of
https://github.com/GochoMugo/node-telegram-bot-api into pr/186
References:
* PR #186 : https://github.com/yagop/node-telegram-bot-api/pull/186
9 years ago
GochoMugo
dcc3d481e4
Add accompanying minor fixes and doc updates for PR #163
9 years ago
Alex Godko
f50936fd7b
Update README.md
...
Added a word about "callback_query" update
9 years ago
GochoMugo
c4d090dcb3
Closes #163 : Mention 'callback_query' in README
9 years ago
GochoMugo
d844ddd15a
Add accompanying minor fixes and doc updates for PR #163
9 years ago
GochoMugo
4c9901e411
Mention "callback_query" in README
...
Notes:
Merge branch 'patch-1' of https://github.com/koloboid/node-telegram-bot-api into pr/163
References:
* PR #163 : https://github.com/yagop/node-telegram-bot-api/pull/163
9 years ago
GochoMugo
626f183cb7
Closes #158 : Add new methods from the API v2.1
9 years ago
GochoMugo
f5af2bf588
Add accompanying tests, minor fixes and updates for PR #158
9 years ago
GochoMugo
628aa5b2d9
Add new methods from the API v2.1
...
Notes:
Merge branch 'master' of https://github.com/HorusGoul/node-telegram-bot-api into pr/158
References:
* PR #158 : https://github.com/yagop/node-telegram-bot-api/pull/158
9 years ago
GochoMugo
74fb4ab181
Closes #144 : Add TelegramBot#getChat() method
9 years ago
GochoMugo
f91d426c35
Minor fixes and Docs update for PR #144
9 years ago
GochoMugo
e2eaa3c8db
Add TelegramBot#getChat() method
...
Notes:
Merge branch 'master' of https://github.com/serhiidmytruk/node-telegram-bot-api into pr/144
References:
* PR #144 : https://github.com/yagop/node-telegram-bot-api/pull/144
9 years ago
GochoMugo
ab3464c679
Closes #133 : JSON-stringify reply_markup in qs
9 years ago
GochoMugo
82ee13e953
Add accompanying test for PR #133
...
References:
* Test retrieved from PR #182
9 years ago
Mikhail Burshteyn
ec354925d6
JSON-stringify reply_markup when it is sent in qs
9 years ago
GochoMugo
618555101f
Fix test for TelegramBot#sendVenue()
9 years ago
GochoMugo
997b69691e
Closes #121 : Add TelegramBot#sendVenue() method
9 years ago
GochoMugo
d9b2170b55
Add TelegramBot#sendVenue()
...
References:
* Author: @iiroj (https://github.com/iiroj )
* PR URL: https://github.com/yagop/node-telegram-bot-api/pull/121
9 years ago
GochoMugo
be49b69219
Fix handling fs.readStream.path if it's a buffer
...
Bug:
The (private) method TelegramBot#_formatSendData(), used by public
methods, such as TelegramBot#sendPhoto(), throws an error
if the stream passed (fs.readStream) has the property 'path',
being an instance of Buffer.
For example,
const stream = fs.createReadStream(Buffer.from('cat.png'));
bot.sendPhoto(chatId, stream);
Would throw an error, like
TypeError: Path must be a string. Received <Buffer 60 62 63 64>
This is because of this line:
src/telegram.js:297
fileName = URL.parse(path.basename(data.path)).pathname;
path.basename() can not handle buffer (non-string) paths. From the
docs, "A TypeError is thrown if path is not a string...".
Fix:
Ensure path.basename() receives a string, by converting the buffer
to string.
References:
* fs.ReadStream: https://nodejs.org/docs/latest/api/fs.html#fs_class_fs_readstream
9 years ago
Jishnu Mohan
3a4e3cd721
adding sendGame and setGameScore
9 years ago
Chris54721
b308c956ae
Update documentation
9 years ago
Chris54721
f9aa16f322
Additional edited_message events
...
- edited_message_text
- edited_message_caption
9 years ago
Chris54721
bf3302a957
Update README.md
9 years ago
Chris54721
7518c44997
Document edited_message event
9 years ago
Chris54721
4746011dd1
Add edited_message support
9 years ago
Ola Flisbäck
10af3e4f55
Fixed a couple of debug prints
10 years ago
Yago
e0e5e9a7b0
Remove coveralls and upgrade istanbul to alpha
10 years ago
Yago
fbc38ea50b
Pass coverage on test
10 years ago
Yago
e4945de64e
Test codecov.io
10 years ago