yagop / node-telegram-bot-api

Telegram Bot API for NodeJS
MIT License
8.13k stars 1.49k forks source link

revokeChatInviteLink api doc fix #1142

Closed matvejs16 closed 8 months ago

matvejs16 commented 8 months ago

Description

Fixed api error for revokeChatInviteLink

References

No references. This api doc does not match the actual code, which takes inviteLink: string as a second argument

danielperez9430 commented 8 months ago

The API doc file is a file that you can't modify manual. All the time is regenerate (Using the command npm run doc). And this need to be change in the file "src/telegram.js" method signature and after that run the command.

I push and merge the correct fix in this commit: https://github.com/yagop/node-telegram-bot-api/commit/f17e801b8a0a194ced929abdcb23e245b953f687