2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-29 13:27:44 +00:00

524 Commits

Author SHA1 Message Date
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
GochoMugo
fb1f4344b3
test: Disable tests on Node.js v0.12
References:

  * BR: https://github.com/yagop/node-telegram-bot-api/issues/365
2017-12-05 13:18:11 +03:00
GochoMugo
b1f0ebaf17
src/polling: Add options to TelegramBot#stopPolling()
Feature:

  * Simply, pass through options to TelegramBot#stopPolling(options)
    to TelegramBotPolling#stop(options)

References:

  * Related PR: https://github.com/yagop/node-telegram-bot-api/pull/456
2017-12-05 13:13:48 +03:00
GochoMugo
ce9ff57a63
src/telegram: Don't JSON-serialize parameter if already of String type 2017-11-27 08:51:54 +03:00
GochoMugo
012e7df35f
src: Support API v3.5 provider_data parameter 2017-11-27 08:15:41 +03:00
GochoMugo
57dec19bab
src: Support future additional Telegram parameters
References:

  * FR: https://github.com/yagop/node-telegram-bot-api/issues/454
2017-11-27 07:54:01 +03:00
GochoMugo
fce9244dfd
doc: Update help information
References:

  * Issue #219: https://github.com/yagop/node-telegram-bot-api/issues/219
  * Issue #273: https://github.com/yagop/node-telegram-bot-api/issues/273
  * Issue #304: https://github.com/yagop/node-telegram-bot-api/issues/304
2017-11-27 07:11:26 +03:00
GochoMugo
0008a39227 pr: Merge edited PR (#440) 2017-11-27 06:49:47 +03:00
GochoMugo
183b6bdb28
doc: Generate API reference, Update changelog 2017-11-27 06:48:22 +03:00
GochoMugo
816511b19f pr: Merge kamikazechaser/node-telegram-bot-api#feature/stickersets 2017-11-27 06:45:58 +03:00
GochoMugo
cfde217488
test: Fix lint error 2017-11-27 06:37:04 +03:00
GochoMugo
13472899e4 pr: Merge edited PR (#439) 2017-11-27 06:35:45 +03:00
GochoMugo
59378d381b
test: Add tests 2017-11-27 06:33:59 +03:00
GochoMugo
79118b9fae
doc: Minor fixes, Update changelog 2017-11-27 05:50:41 +03:00
GochoMugo
65384a11d4
pr: Merge kamikazechaser/node-telegram-bot-api#feature/livelocations 2017-11-27 05:41:22 +03:00
GochoMugo
1f61b82aa8
doc: Fix documented types for params chatId, userId
References:

  * BR: https://github.com/yagop/node-telegram-bot-api/issues/300
2017-11-27 05:25:53 +03:00
GochoMugo
633bd83a0a
src/telegram: JSON-serialize 'mask_position's
References:

  * Similar PR: https://github.com/yagop/node-telegram-bot-api/pull/468
2017-11-27 05:14:43 +03:00
drGOD
4586ebd10b src/telegram: JSON-serialize shipping_options in answerShippingQuery (#468) 2017-11-26 11:03:36 +03:00
Yago
fd337e91f2
Merge pull request #463 from saeedhei/patch-1
Persian Language added
2017-11-22 23:32:02 +01:00
Yago
20c5ab6710
Merge branch 'master' into patch-1 2017-11-22 23:31:48 +01:00
Yago
5510c07876
Merge branch 'master' into patch-1 2017-11-22 23:28:53 +01:00
Yago
3fbc6c85b0
Merge pull request #462 from Archakov06/patch-2
Add tutorial link RUS
2017-11-22 23:24:47 +01:00
Sedric Heidarizarei
757ba2476a
Persian Language added 2017-11-22 05:49:52 +03:30
Archakov Dennis
16045fda6e
Add tutorial link RUS 2017-11-22 00:55:11 +03:00
GochoMugo
ba4d207684
src: Improve performance when matching message types
Feature:

  Considering that the most encountered message type is (probably) 'text',
  we should match it as soon as possible; without wasting much time
  looping through less-likely-to-matched types.
2017-11-19 00:05:32 +03:00
GochoMugo
772609c334
doc: Update ParseError message; error might not be from Telegram 2017-11-18 23:55:05 +03:00