mirror of
https://github.com/yagop/node-telegram-bot-api
synced 2025-08-22 18:07:16 +00:00
chore/syntax: Fix missing colons
This commit is contained in:
parent
d38dfd3a12
commit
fd8251b90f
@ -946,7 +946,7 @@ class TelegramBot extends EventEmitter {
|
||||
setChatTitle(chatId, title, form = {}) {
|
||||
form.chat_id = chatId;
|
||||
form.title = title;
|
||||
return this._request('setChatTitle', { form })
|
||||
return this._request('setChatTitle', { form });
|
||||
}
|
||||
|
||||
/**
|
||||
@ -962,7 +962,7 @@ class TelegramBot extends EventEmitter {
|
||||
setChatDescription(chatId, description, form = {}) {
|
||||
form.chat_id = chatId;
|
||||
form.description = description;
|
||||
return this._request('setChatDescription', { form })
|
||||
return this._request('setChatDescription', { form });
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user