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
GochoMugo
ea420edad9
doc/help: Add link to bug '502 Bad Gateway'
...
References:
* BR '502 Bad Gateway': https://github.com/yagop/node-telegram-bot-api/issues/377
2017-11-18 23:49:33 +03:00
GochoMugo
8c965d3a14
src: Improve default error logging of polling_error
, webhook_error
...
References:
* BR: https://github.com/yagop/node-telegram-bot-api/issues/377
2017-11-18 23:21:52 +03:00
MCSH
6263dcb007
examples: Fix game to answer callback query correctly
...
References:
* BR: https://github.com/yagop/node-telegram-bot-api/issues/418
* PR: https://github.com/yagop/node-telegram-bot-api/pull/449
2017-11-18 22:47:51 +03:00
Aaron Meese
e03ffe5d04
doc: Update README.md ( #457 )
2017-11-18 22:18:50 +03:00
GochoMugo
dc897d95e5
chore: Update npm script gen-doc
to doc
2017-11-18 22:04:21 +03:00
GochoMugo
bbac07ad2c
doc: Document TelegramBot.errors, TelegramBot.messageTypes
2017-11-18 21:49:34 +03:00
GochoMugo
49df0c6e02
src/telegram: Add metadata argument in message
event (and friends)
...
References:
* FR: https://github.com/yagop/node-telegram-bot-api/issues/409
* PR: https://github.com/yagop/node-telegram-bot-api/pull/413
2017-11-18 21:44:06 +03:00
GochoMugo
3722c7182c
src/telegram: Fix TelegramBot#answerCallbackQuery() signature
...
Bug:
`callbackQueryId` is a required argument. All other options
are optional.
References:
* Telegram API doc: https://core.telegram.org/bots/api#answercallbackquery
* Blame: https://github.com/yagop/node-telegram-bot-api/pull/368
2017-11-18 20:31:01 +03:00
GochoMugo
9cf36a3b20
pkg: Add support for Node v9
2017-11-16 21:03:18 +03:00
GochoMugo
6b21ca3570
doc: Update contributing guidelines
...
References:
* Issue not in English: https://github.com/yagop/node-telegram-bot-api/issues/460
2017-11-16 15:40:43 +03:00
GochoMugo
b6349de67e
doc: Document TelegramBot#on()
...
References:
* Issue: https://github.com/yagop/node-telegram-bot-api/issues/436
2017-11-16 15:33:22 +03:00
GochoMugo
7f41992e62
pkg: Bump minor version (v0.28.0 -> v0.29.0)
...
See `CHANGELOG.md`.
v0.29.0
2017-10-22 19:36:08 +03:00
GochoMugo
1475881a37
doc: Update changelog
2017-10-22 19:28:28 +03:00
GochoMugo
4f50f7350c
src/telegram: Add API v3.2 methods
...
Notes:
Add methods:
* TelegramBot#createNewStickerSet
* TelegramBot#addStickerToSet
* TelegramBot#setStickerPositionInSet
* TelegramBot#deleteStickerFromSet
Tests are missing!
References:
* FR: https://github.com/yagop/node-telegram-bot-api/issues/407
2017-10-16 13:07:58 +03:00
CapacitorSet
8fd243e6a8
src/telegram: Add TelegramBot#uploadStickerFile
...
Notes:
* Closes PR #430
References:
* FR: https://github.com/yagop/node-telegram-bot-api/issues/407
* PR: https://github.com/yagop/node-telegram-bot-api/pull/430
* PR-by: @CapacitorSet
2017-10-07 15:08:18 +03:00
CapacitorSet
a2d85b889a
src/telegram: Add TelegramBot#getStickerSet()
...
References:
* FR: https://github.com/yagop/node-telegram-bot-api/issues/407
* PR: https://github.com/yagop/node-telegram-bot-api/pull/429
* PR-by: @CapacitorSet, @libertylocked
2017-10-07 14:50:25 +03:00
GochoMugo
f4f015a621
src/telegram: Use $NTBA_FIX_319 to apply fix for #319
...
Notes:
The permanent fix introduces backwards-incompatible changes, which
require a major version bump. Until we release v1,
environment variable `${NTBA_FIX_319}` can be used to apply
the fix.
References:
* BR: https://github.com/yagop/node-telegram-bot-api/issues/319
2017-08-25 18:51:51 +03:00
GochoMugo
ef48af49f5
src/telegram: Deprecate auto-enabling Promise cancellation
...
Side-effects:
src/telegram: Allow providing custom Promise constructor
References:
* BR: https://github.com/yagop/node-telegram-bot-api/issues/319
2017-08-25 18:39:13 +03:00
GochoMugo
28160c70cd
doc: Fix broken link in change-log
2017-08-15 09:31:06 +03:00
GochoMugo
580afc92c1
pkg: Bump minor version (0.27.1 -> 0.28.0)
v0.28.0
2017-08-15 09:26:03 +03:00
GochoMugo
4bb1374435
doc: Update changelog
2017-08-06 12:41:38 +03:00
GochoMugo
832bf78c94
pkg: Add support for Node v7, v8
2017-08-06 12:28:53 +03:00
GochoMugo
5f7d306f60
test: Skip tests on TelegramBot#sendVideoNote()
...
References:
* BR: https://github.com/yagop/node-telegram-bot-api/issues/365
2017-08-06 12:22:43 +03:00
GochoMugo
4ed6d945ab
pr/368: Update TelegramBot#answerCallbackQuery() signature
...
References:
* FR: https://github.com/yagop/node-telegram-bot-api/issues/367
* PR: https://github.com/yagop/node-telegram-bot-api/pull/368
* PR-by: @mnb3000
2017-07-06 15:49:02 +03:00
Misha
67839b6faa
src/telegram: Update TelegramBot#answerCallbackQuery() signature
...
Feature:
The signature is inconsistent from other methods in TelegramBot.
Make it consistent.
References:
* FR: https://github.com/yagop/node-telegram-bot-api/issues/367
* PR: https://github.com/yagop/node-telegram-bot-api/pull/368
* PR-by: @mnb3000
2017-07-06 12:29:50 +03:00
Yago
f20a7f4ee5
Uppps, fix "{"
2017-07-05 23:51:03 +02:00
Yago
0bf148adb9
Check if test are running in CI and skip invoice if so
2017-07-05 23:47:05 +02:00
Yago
e1f8fb25ec
Skip sendInvoice test method
2017-07-05 23:30:14 +02:00
GochoMugo
fd8251b90f
chore/syntax: Fix missing colons
2017-07-05 13:34:18 +03:00
GochoMugo
d38dfd3a12
pr/362: Support Bot API v3.1 ( #362 , #369 )
...
References:
* FR: https://github.com/yagop/node-telegram-bot-api/issues/361
* PR: https://github.com/yagop/node-telegram-bot-api/pull/362
* PR-by: @Lord-Protector
* PR/2: https://github.com/yagop/node-telegram-bot-api/pull/369
* PR/2-by: @kamikazechaser
2017-07-05 11:40:23 +03:00
GochoMugo
8ed0a2dcef
test: Fix test for TelegramBot#setChatDescription()
...
Bug:
We MUST ensure we update the description. If the description
is unchanged, an error is thrown by the API.
Fix:
Append a random number to the description.
2017-07-05 11:38:39 +03:00
GochoMugo
96b90c2d56
src/telegram: Add tests for Bot API v3.1 methods
...
References:
* PR: https://github.com/yagop/node-telegram-bot-api/pull/369
* PR-by: @kamikazechaser
* Parent-PR: https://github.com/yagop/node-telegram-bot-api/pull/362
* Parent-PR-by: @Lord-Protector
2017-07-05 09:09:42 +03:00
Savely Krasovsky
83d3235cc5
src/telegram: Support Bot API v3.1
...
References:
* Bot API v3.1: https://core.telegram.org/bots/api-changelog#june-30-2017
2017-07-05 09:06:38 +03:00
kucherenkovova
61e8f85368
src/telegram: Fix download file path on windows
...
References:
* BR: https://github.com/yagop/node-telegram-bot-api/issues/363
* PR: https://github.com/yagop/node-telegram-bot-api/pull/364
* PR-by: @kucherenkovova
2017-07-01 08:56:01 +03:00
GochoMugo
9a4298308e
doc: Add tutorials page
...
References:
* PR: https://github.com/yagop/node-telegram-bot-api/pull/358
* FR: https://github.com/yagop/node-telegram-bot-api/issues/351
* PR-by, FR-by: @hosein2398
2017-06-26 12:28:11 +03:00
GochoMugo
a3268164f5
examples: Add game example
...
References:
* PR: https://github.com/yagop/node-telegram-bot-api/pull/342
* PR-by: @MCSH
2017-06-26 12:10:18 +03:00
Victor Le
54391e76a0
doc: Fix anchor webhook link ( #346 )
...
References:
* PR: https://github.com/yagop/node-telegram-bot-api/pull/346
* PR-by: @Coac
2017-06-02 10:16:05 +03:00
GochoMugo
d082a2d7d9
src/telegram: Sort the message types for less cognitive load
2017-05-26 18:20:29 +03:00
Mohammed Sohail
5490a3a6e0
doc: Update API version badge ( #339 )
...
References:
* PR: https://github.com/yagop/node-telegram-bot-api/pull/339
* PR-by: @kamikazechaser
* API v3 progress tracker: https://github.com/yagop/node-telegram-bot-api/issues/332
2017-05-26 18:13:54 +03:00
GochoMugo
73269e79e2
src/telegram: Add missing event 'video_note'
...
References:
* API Message type: https://core.telegram.org/bots/api#message
* API v3 progress tracker: https://github.com/yagop/node-telegram-bot-api/issues/332
2017-05-26 18:08:58 +03:00
Mohammed Sohail
fe527957e0
src/telegram: Support API v3 Payments ( #335 )
...
References:
* API v3 Payments: https://core.telegram.org/bots/payments
* PR: https://github.com/yagop/node-telegram-bot-api/pull/335
* PR-by: @kamikazechaser
* API v3 progress tracker: https://github.com/yagop/node-telegram-bot-api/issues/332
2017-05-26 17:59:22 +03:00
Mohammed Sohail
07a6e5ff23
src/telegram: Add missing Message sub-types, Deprecate old ones ( #340 )
...
References:
* PR: https://github.com/yagop/node-telegram-bot-api/pull/340
* PR-by: @kamikazechaser
2017-05-26 17:17:19 +03:00
Mohammed Sohail
177c951340
src/telegram: Add API v3 new update types and message sub-types ( #333 )
...
References:
* API changelog: https://core.telegram.org/bots/api-changelog#may-18-2017
* PR: https://github.com/yagop/node-telegram-bot-api/pull/333
* PR-by: @kamikazechaser
* API v3: https://github.com/yagop/node-telegram-bot-api/issues/332
2017-05-26 16:46:26 +03:00