Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NPM v.0.66.0 not the same as this repo #1219

Open
st-spark opened this issue Jul 25, 2024 · 0 comments
Open

NPM v.0.66.0 not the same as this repo #1219

st-spark opened this issue Jul 25, 2024 · 0 comments

Comments

@st-spark
Copy link

Downloaded latest version from https://www.npmjs.com/package/node-telegram-bot-api and there is error with method "getUserChatBoosts"

There is code from NPM:

  getUserChatBoosts(chatId, pollId, form = {}) {
    form.chat_id = chatId;
    form.message_id = pollId;
    return this._request('getUserChatBoosts', { form });
  }

And there is code from current repo on GitHub:

  getUserChatBoosts(chatId, userId, form = {}) {
    form.chat_id = chatId;
    form.user_id = userId;
    return this._request('getUserChatBoosts', { form });
  }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant