2
0
mirror of https://github.com/yagop/node-telegram-bot-api synced 2025-08-23 10:27:49 +00:00

chore/syntax: Fix missing colons

This commit is contained in:
GochoMugo 2017-07-05 13:34:18 +03:00
parent d38dfd3a12
commit fd8251b90f
No known key found for this signature in database
GPG Key ID: 7B6A01CB57AA39E4

View File

@ -946,7 +946,7 @@ class TelegramBot extends EventEmitter {
setChatTitle(chatId, title, form = {}) { setChatTitle(chatId, title, form = {}) {
form.chat_id = chatId; form.chat_id = chatId;
form.title = title; 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 = {}) { setChatDescription(chatId, description, form = {}) {
form.chat_id = chatId; form.chat_id = chatId;
form.description = description; form.description = description;
return this._request('setChatDescription', { form }) return this._request('setChatDescription', { form });
} }
/** /**