mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-08-22 01:47:25 +00:00
Hotfix: tests + modify order src/telegram + docs (#988)
* test: stopPoll * test: setChatStickerSet and deleteChatStickerSet * refactor: src/telegram.js * Remove legacy methods: - getChatMembersCount - getChatMembersCount - kickChatMember * Remove mandatory param “start_parameter” from sendInvoice, because actually is a optional param * docs: Update docs API * docs: Update * fix: addStickerToSet * fix: stringify * refactor: And add deleteStickerFromSet + setStickerPositionInSet * fix: eslint * docs: Update changelog
This commit is contained in:
parent
449f03f786
commit
f50cf982c7
@ -7,7 +7,8 @@
|
|||||||
"no-param-reassign": [2,{"props":false}],
|
"no-param-reassign": [2,{"props":false}],
|
||||||
"max-len": [2, 200],
|
"max-len": [2, 200],
|
||||||
"arrow-body-style": 0,
|
"arrow-body-style": 0,
|
||||||
"comma-dangle": 0
|
"comma-dangle": 0,
|
||||||
|
"indent": ["error", 2]
|
||||||
},
|
},
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"mocha"
|
"mocha"
|
||||||
|
25
CHANGELOG.md
25
CHANGELOG.md
@ -3,6 +3,31 @@
|
|||||||
All notable changes to this project will be documented in this file.
|
All notable changes to this project will be documented in this file.
|
||||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
|
## [0.59.0][0.59.0] - 2022-07-19
|
||||||
|
|
||||||
|
1. Remove dependencies: (@danielperez9430)
|
||||||
|
* Remove *bluebird* => Use NodeJS Native Promises
|
||||||
|
* Remove *depd* => Use node native deprecate util for warnings
|
||||||
|
* Remove contributor dev dependency and add list of contributors in the readme
|
||||||
|
|
||||||
|
2. Remove legacy methods: (@danielperez9430)
|
||||||
|
* getChatMembersCount
|
||||||
|
* kickChatMember
|
||||||
|
|
||||||
|
3. Docs: (@danielperez9430)
|
||||||
|
* Update the docs of functions
|
||||||
|
* Order functions follow the Telegram bot API docs in src/telegram.js
|
||||||
|
|
||||||
|
4. Fix: (@danielperez9430)
|
||||||
|
* addStickerToSet() -> Allow to send tgs_sticker + webm_sticker
|
||||||
|
* Remove mandatory param “start_parameter” from sendInvoice, because in the docs is a optional param
|
||||||
|
* Fix some tests
|
||||||
|
|
||||||
|
5. New Test: (@danielperez9430)
|
||||||
|
* deleteStickerFromSet
|
||||||
|
* setStickerPositionInSet
|
||||||
|
|
||||||
|
|
||||||
## [0.58.0][0.58.0] - 2022-06-22
|
## [0.58.0][0.58.0] - 2022-06-22
|
||||||
|
|
||||||
1. Support Bot API v6.1: (@danielperez9430)
|
1. Support Bot API v6.1: (@danielperez9430)
|
||||||
|
2129
doc/api.md
2129
doc/api.md
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "node-telegram-bot-api",
|
"name": "node-telegram-bot-api",
|
||||||
"version": "0.58.0",
|
"version": "0.59.0",
|
||||||
"description": "Telegram Bot API",
|
"description": "Telegram Bot API",
|
||||||
"main": "./index.js",
|
"main": "./index.js",
|
||||||
"directories": {
|
"directories": {
|
||||||
@ -31,7 +31,7 @@
|
|||||||
"dependencies": {
|
"dependencies": {
|
||||||
"array.prototype.findindex": "^2.0.2",
|
"array.prototype.findindex": "^2.0.2",
|
||||||
"bl": "^1.2.3",
|
"bl": "^1.2.3",
|
||||||
"debug": "^3.1.0",
|
"debug": "^3.2.7",
|
||||||
"eventemitter3": "^3.0.0",
|
"eventemitter3": "^3.0.0",
|
||||||
"file-type": "^3.9.0",
|
"file-type": "^3.9.0",
|
||||||
"mime": "^1.6.0",
|
"mime": "^1.6.0",
|
||||||
|
2276
src/telegram.js
2276
src/telegram.js
File diff suppressed because it is too large
Load Diff
1588
test/telegram.js
1588
test/telegram.js
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user