Skip to content

Commit 7e9ee42

Browse files
fix: getUserChatBoosts
1 parent 65ef0a2 commit 7e9ee42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/telegram.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2253,9 +2253,9 @@ class TelegramBot extends EventEmitter {
22532253
* @return {Promise} On success, returns a [UserChatBoosts](https://core.telegram.org/bots/api#userchatboosts) object
22542254
* @see https://core.telegram.org/bots/api#getuserchatboosts
22552255
*/
2256-
getUserChatBoosts(chatId, pollId, form = {}) {
2256+
getUserChatBoosts(chatId, userId, form = {}) {
22572257
form.chat_id = chatId;
2258-
form.message_id = pollId;
2258+
form.user_id = userId;
22592259
return this._request('getUserChatBoosts', { form });
22602260
}
22612261

0 commit comments

Comments
 (0)