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
lgy
5169d79bd9
docs: add proxy usage reference
...
-refs: #766
-by @97thjingba
2020-01-20 16:38:42 +05:30
Mohammed Sohail
f1a044e88e
src: Support Bot API v4.2
2019-05-07 16:17:43 +03:00
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
11a6b221e9
Merge pull request #636 from sinchang-bot/patch-1
...
doc: fix typo
2018-10-12 12:01:04 +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
Daniel Pérez Fernández
8b7d10e01b
doc: Add link to tutorial [ES] ( #545 )
...
pr-by: @danielperez9430
2018-05-14 09:42:45 +03:00
Neetshin
71fbad31d9
Update tutorial articles link
2018-02-27 14:18:39 +05:30
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
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
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
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
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
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
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
183b6bdb28
doc: Generate API reference, Update changelog
2017-11-27 06:48:22 +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
Yago
5510c07876
Merge branch 'master' into patch-1
2017-11-22 23:28:53 +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
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
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
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
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
b25bc6eddb
[Doc] Generate documentation
2017-10-14 04:36:07 +05:30
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
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
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
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
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