2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-29 05:17:41 +00:00

649 Commits

Author SHA1 Message Date
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
GochoMugo
309696622d
doc: Showcase and update contributor list 2017-12-20 13:48:29 +03:00
GochoMugo
1f4c79ec8e
chore: Ignore package lock file 2017-12-20 12:41:03 +03:00
GochoMugo
8edf1fbc6d
doc: Update changelog 2017-12-20 12:28:11 +03:00
GochoMugo
55332c3c25
doc: Update changelog, version badge 2017-12-20 12:22:30 +03:00
GochoMugo
96c50ba1bd
doc: Improve deprecation messages 2017-12-20 12:12:01 +03:00
GochoMugo
4358f20dbb
doc: Minor fixes on documentation 2017-12-20 12:02:09 +03:00
GochoMugo
0781ae685d
src/telegram: Add TelegramBot#sendMediaGroup()
References:

  * Telegram API documentation: https://core.telegram.org/bots/api#sendmediagroup
2017-12-20 11:59:39 +03:00
Oleg
584610baaf doc: Add tutorial [RUS] (#477) 2017-12-20 11:07:40 +03:00
GochoMugo
1a08221174
src/telegram: Improve sending files (#471)
References:

  * PR: https://github.com/yagop/node-telegram-bot-api/pull/471
2017-12-20 11:03:00 +03:00
GochoMugo
d7197998dd
doc: Add note on specifying additional Telegram query options 2017-12-11 18:32:19 +03:00
GochoMugo
4051117ed0
src: Minor reorganisation, fixes 2017-12-11 18:24:22 +03:00
GochoMugo
f28416fbaf
src/telegram: Implement downloadFile() in terms of getFileStream() 2017-12-08 19:37:12 +03:00
GochoMugo
04e8b892aa
src/telegram: Emit 'info' on stream from TelegramBot#getFileStream() 2017-12-08 19:25:56 +03:00
GochoMugo
b968e893d3
src/telegram: Populate Stream#path from TelegramBot#getFileStream() 2017-12-08 19:18:55 +03:00
GochoMugo
b91409a2b6
test: Fix path to ssl key, cert 2017-12-07 13:05:48 +03:00
GochoMugo
455a93cacb
examples: Add notice of openshift 2 shutdown
References:

  * Issue: https://github.com/yagop/node-telegram-bot-api/issues/426
2017-12-07 12:35:37 +03:00
GochoMugo
17f839498e
chore: Re-organise examples 2017-12-07 12:30:44 +03:00
GochoMugo
d9692f45a9
src/telegram: Add TelegramBot#getFileStream()
References:

  * FR: https://github.com/yagop/node-telegram-bot-api/issues/442
2017-12-07 12:04:46 +03:00
Gocho Mugo
0870684d83
src/polling: Fix the Offset Infinite Loop bug (#265)
References:

  * BR: https://github.com/yagop/node-telegram-bot-api/issues/36
2017-12-05 15:18:18 +03:00
GochoMugo
8edb687283
src: Add fileOptions to remaining file-sending methods 2017-12-05 14:30:45 +03:00
GochoMugo
3b603b1dbd
src: Minor fix, complete TODO 2017-12-05 13:59:32 +03:00
GochoMugo
b774ff436f src: Minor fixes 2017-12-05 13:56:07 +03:00
GochoMugo
d6083e4327 src: Support file options, defaults in sending files 2017-12-05 13:39:17 +03:00