Skip to content

Commit

Permalink
Hotfix: tests + modify order src/telegram + docs (#988)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
danielperez9430 committed Jul 19, 2022
1 parent 449f03f commit f50cf98
Show file tree
Hide file tree
Showing 6 changed files with 2,966 additions and 2,715 deletions.
3 changes: 2 additions & 1 deletion .eslintrc
Expand Up @@ -7,7 +7,8 @@
"no-param-reassign": [2,{"props":false}],
"max-len": [2, 200],
"arrow-body-style": 0,
"comma-dangle": 0
"comma-dangle": 0,
"indent": ["error", 2]
},
"plugins": [
"mocha"
Expand Down
25 changes: 25 additions & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,31 @@
All notable changes to this project will be documented in this file.
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

1. Support Bot API v6.1: (@danielperez9430)
Expand Down

0 comments on commit f50cf98

Please sign in to comment.