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
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
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
Mohammed Sohail
4d90529492
[API v3.4] Support sticker sets
2017-10-14 04:55:25 +05:30
Mohammed Sohail
b25bc6eddb
[Doc] Generate documentation
2017-10-14 04:36:07 +05:30
Mohammed Sohail
7315fcff3e
[Fix] Minor copypasta typo
2017-10-13 22:28:15 +05:30