mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-08-22 09:57:10 +00:00
fix: getUserChatBoosts
This commit is contained in:
parent
65ef0a2fcc
commit
7e9ee42769
@ -2253,9 +2253,9 @@ class TelegramBot extends EventEmitter {
|
||||
* @return {Promise} On success, returns a [UserChatBoosts](https://core.telegram.org/bots/api#userchatboosts) object
|
||||
* @see https://core.telegram.org/bots/api#getuserchatboosts
|
||||
*/
|
||||
getUserChatBoosts(chatId, pollId, form = {}) {
|
||||
getUserChatBoosts(chatId, userId, form = {}) {
|
||||
form.chat_id = chatId;
|
||||
form.message_id = pollId;
|
||||
form.user_id = userId;
|
||||
return this._request('getUserChatBoosts', { form });
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user