chore/syntax: Fix missing colons

v1
GochoMugo 9 years ago
parent d38dfd3a12
commit fd8251b90f
No known key found for this signature in database
GPG Key ID: 7B6A01CB57AA39E4
  1. 4
      src/telegram.js

@ -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 });
} }
/** /**

Loading…
Cancel
Save