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
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
Yago
743cc0ff9d
Update readme
10 years ago
Yago
d1700788a1
Simplify scripts a bit
10 years ago
Yago
12200eea4c
prepublish:test script
10 years ago
Yago
94540c39bf
Merge branch 'conorfennell-master'
10 years ago
Alex Godko
397c87a956
Update README.md
...
Added a word about "callback_query" update
10 years ago
Horus Lugo
67344660d4
Added getChat, getChatAdministrators, getChatMembersCount and getChatMember
10 years ago
Conor Fennell
96adb918c1
Create a stop method #81
10 years ago
Serhii Dmytruk
cf8e90e70f
getchat action
10 years ago
Yago
335a5045d8
editMessageCaption URL
10 years ago
Yago
576b78f09e
0.23.3
10 years ago
Yago
ed6cb09474
Bind this.processUpdate to TelegramBot context
10 years ago
Yago
f0c2d19ff0
0.23.2
10 years ago
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
10 years ago
Yago
dbb3e16764
0.23.1
10 years ago
Yago
cd86c93438
Fixed processUpdate
10 years ago
Yago
5719e62d88
Upgrade babel-eslint and eslint. Closes #130
10 years ago
Yago
164fb16f44
0.23.0
10 years ago
Yago
2dfb2d801a
Updated README
10 years ago
Yago
2266a39862
Merge branch 'evolun-sendDocument-fileoptions'
10 years ago
knock-in
c9556e3c98
Generate Docs from /src directly
10 years ago
Yago
8bacecbbf3
0.22.1
10 years ago
Yago
5650ea58aa
Updated readme
10 years ago