2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-30 13:58:27 +00:00
Commit Graph

572 Commits

Author SHA1 Message Date
Mohammed Sohail
917c20c2c7 release: v0.50.0 v0.50.0 2020-05-12 11:58:32 +05:30
Igor
7643551adc Fix catch error while file not able download (#737) 2020-05-12 09:59:29 +05:30
German Smirnov
d853a18079 fix regexp compare (#783)
* fix regexp compare

* npm run doc

* docs: fix

Co-authored-by: Mohammed Sohail <sohailsameja@gmail.com>
2020-05-12 09:50:52 +05:30
pyg
b4309cf45a src/telegram: Add request options in getFileStream (#771)
Here it's request unable to use proxy options
2020-05-12 09:39:17 +05:30
Ilan
1ca5e2b967 Update tutorials.md (#803) 2020-05-12 09:38:17 +05:30
Daniel Pérez Fernández
1bae9c2964 Add new method sendDice, getMyCommands, setMyCommands and more (#796)
* Add new method sendPoll

* getMyCommands

* setMyCommands

* Update doc/api

* 1# Fix Test sendPhoto

The sendPhoto method does not support .gif files, use sendAnimation.

This fix remplace .gif file by .png

* CustomTitle and ChatPermissions support

setChatAdministratorCustomTitle
setChatPermissions

* Update Readme

Update Badge Telegram API Version

* Minor Fix and Fix setChatPhoto

The Telegram Bots api has a bug that they are fixing and gives problems with the previous image. While they don't fix it, the image replacement is the fastest solution

* Minor Fix and Add Test

Fixed setChatPermissions

Test:
- sendDice
- getMyCommands
- setMyCommands
- setChatAdministratorCustomTitle
- setChatPermissions

* Update Changelog and Package.json version

* Fix typos in Changelog

* Add support for poll_answer

From: https://github.com/yagop/node-telegram-bot-api/pull/777

* Add JieJiSS contribution in Changelog

* Add sendPoll Test
2020-05-12 09:31:30 +05:30
Mohamed Nainar
c6a0eedc9a Update README.md (#790) 2020-04-30 20:54:29 +05:30
Melroy van den Berg
8bf57c1275 example: update express example
bodyParser is built-in again. (#791)

See: https://stackoverflow.com/questions/47232187/express-json-vs-bodyparser-json/47232318
2020-04-30 20:52:00 +05:30
lgy
5169d79bd9 docs: add proxy usage reference
-refs: #766 
-by @97thjingba
2020-01-20 16:38:42 +05:30
Mohammed Sohail
667380f1de test: skip sendContact
- rate limits still apply
2019-10-15 21:50:06 +05:30
Mohammed Sohail
5553ceecbb release: tidy up
- remove appveyor badge
- restrict builds to main versions of node
- add npm badge
2019-10-15 21:38:49 +05:30
Mohammed Sohail
e66243a776 [Docs] Update documentation (#753)
* doc: update readme.md
2019-10-15 20:51:07 +05:30
Mohammed Sohail
1f1e46e01b test: skip stopMessageLiveLocation
- unexplicable error that is probabilistic in natuu
2019-10-15 20:19:44 +05:30
Mohammed Sohail
690c26faa2 [Package] Bump to v.0.40.0 (#752)
* doc: update changelog

- support for v4. to v4.2

* doc: update license date to 2019

* pkg: bump npm package to 0.40.0
2019-10-15 15:33:30 +05:30
Mohammed Sohail
0613a1bb08 test: temporarily disable pr builds
ref: https://docs.travis-ci.com/user/pull-requests/#pull-requests-and-security-restrictions
2019-10-15 15:16:08 +05:30
Mohammed Sohail
7feb88464d test: update test suite
- remove unecessary tests for node v5 and below
- fix tg side errors when running tests i.e. currency format
- enable force builds on pr
2019-10-15 15:03:20 +05:30
GochoMugo
a0aa87329f test: Run tests on Node.js v10, v12 2019-05-07 16:25:27 +03:00
Gocho Mugo
0b8ca03b54 chore/mr: Merge MR #720 2019-05-07 16:23:25 +03:00
Mohammed Sohail
f1a044e88e src: Support Bot API v4.2 2019-05-07 16:17:43 +03:00
Mohammed Sohail
0b476fe35d Merge pull request #678 from alexandercerutti/master
Added node-telegram-operation-manager to community field
2018-11-05 11:31:05 +05:30
Alexander Cerutti
cf28a17654 Added node-telegram-operation-manager to community field 2018-11-04 23:34:18 +01:00
Sedric Heidarizarei
8a51b70028 Copyright Updated (#658)
* Update README/LICENSE.md

- Year to 2018
2018-11-02 11:12:25 +05:30
Mohammed Sohail
d6f5639768 Update badges (#667)
* Update README badges

- Update badge to reflect the current update (#625)
- Fix broken BitHound badge

* Update badges

- Replace coveralls with codecov
- Add new appveyor badge

* Fix minor typo
2018-11-02 11:09:48 +05:30
Mohammed Sohail Sameja
47bea20539 [Tests] Update
- Set max-len at 200
- Fix eslint errors
2018-10-31 21:34:24 +05:30
Mohammed Sohail
29e0038bf3 Merge pull request #627 from vito2005/patch-1
one more tutorial for node-telegram-bot-api

by @vito2005
2018-10-31 16:24:42 +05:30
Yago
d70442d746 Merge pull request #613 from mashed-potatoes/master
Remove bitHound Score
2018-10-30 22:52:20 +01:00
Yago
6e46f48606 Merge pull request #671 from kamikazechaser/fix/v4
[v4.0] Add tests and add minor improvement
2018-10-30 22:45:08 +01:00
Mohammed Sohail Sameja
6a7c088a63 [v4.0] Add tests and add minor improvement
Follow up update to #625

 - Tests for both methods (sendAnimation, editMediaMessage) have been
 added. editMediaMessage is nested under sendAnimation, hence both tests
 are technically under a single block.

- Add an improvement/minor fix to the editMediaMessage method, where we
now stringify the first parameter (media) object interally within the
library. This allows the lib user to simply pass an object as the 1st
param without stringifying it.
2018-10-26 15:03:52 +05:30
Yago
11a6b221e9 Merge pull request #636 from sinchang-bot/patch-1
doc: fix typo
2018-10-12 12:01:04 +02:00
Yago
42b31fbc9e Merge pull request #625 from kamikazechaser/api-v4
[API v4.0] Publish new methods and message types
2018-10-12 11:58:46 +02:00
Jeff Wen
ca7eee8b0c doc: fix typo 2018-09-04 16:55:51 +08:00
vito2005
e207ef665b one more tutorial for node-telegram-bot-api
using your module the bot can send sms templates
2018-08-10 12:01:44 +03:00
Mohammed Sohail
cca75ec92a Add documentation 2018-08-01 22:50:53 +05:30
Mohammed Sohail
fadf738da4 Add passport_data message type
Reference: Telegram API Documentation: https://core.telegram.org/bots/api#message
2018-08-01 22:31:43 +05:30
Mohammed Sohail
8b99ccb75c Add sendAnimation method
Reference: Telegram API Documentation: https://core.telegram.org/bots/api#sendanimation
2018-08-01 22:29:09 +05:30
Mohammed Sohail
2d3421905c Add animation message type
References: Telegram API Documentation: https://core.telegram.org/bots/api#message
2018-08-01 22:20:47 +05:30
Mohammed Sohail
67c738b0d3 Add editMessageMedia method
Reference: Telegram API Documentation: https://core.telegram.org/bots/api#editmessagemedia
2018-08-01 22:15:05 +05:30
mashed-potatoes
8ef560160c Remove bitHound Score 2018-07-09 05:59:15 +05:00
Alexander Cerutti
b585957a0a doc: Add telegram-keyboard-wrapper to community section (#529)
pr-by: @alexandercerutti
2018-05-15 09:10:43 +03:00
Daniel Pérez Fernández
8b7d10e01b doc: Add link to tutorial [ES] (#545)
pr-by: @danielperez9430
2018-05-14 09:42:45 +03:00
Gocho Mugo
1224613fec doc: Add link to tutorial (#533)
pr-by: https://github.com/neet
2018-05-14 09:35:01 +03:00
Gocho Mugo
0461c0bfe3 doc: Add missing full stop (#515) 2018-05-14 09:32:02 +03:00
Neetshin
71fbad31d9 Update tutorial articles link 2018-02-27 14:18:39 +05:30
Benny Neugebauer
091ef7a8a7 doc: Add missing full stop 2018-02-04 00:12:44 +01:00
Oleksandr Tryshchenko
435f06319e doc: Fixed type annotations for message id parameter (#491)
References:

  * BR: https://github.com/yagop/node-telegram-bot-api/issues/490
2018-01-11 12:21:14 +03:00
GochoMugo
119d892c34 release: v0.30.0 v0.30.0 2017-12-21 14:32:33 +03:00
GochoMugo
1169f8e430 chore: Use npm script prepublishOnly instead of deprecated prepublish 2017-12-21 14:16:17 +03:00
GochoMugo
5cecffc34b chore/deps: Downgrade eslint for Node v4 compatibility 2017-12-21 14:15:19 +03:00
GochoMugo
7e9e9b11b3 test: Fix previously-uncaught lint errors 2017-12-21 12:45:34 +03:00
GochoMugo
2bdd50fdc2 chore/deps: Update dependencies
Notes:

  Kept-back:
  ---------
  1. eslint-config-airbnb
  2. file-type
  3. istanbul
  4. mime
  5. mocha
2017-12-21 12:43:56 +03:00