@@ -72,7 +72,7 @@ String UniversalTelegramBot::sendGetToTelegram(const String& command) {
7272 #endif
7373 if (!client->connect (TELEGRAM_HOST, TELEGRAM_SSL_PORT)) {
7474 #ifdef TELEGRAM_DEBUG
75- Serial.println (F (" [BOT]Conection error" ));
75+ Serial.println (F (" [BOT]Connection error" ));
7676 #endif
7777 }
7878 }
@@ -149,7 +149,7 @@ String UniversalTelegramBot::sendPostToTelegram(const String& command, JsonObjec
149149 #endif
150150 if (!client->connect (TELEGRAM_HOST, TELEGRAM_SSL_PORT)) {
151151 #ifdef TELEGRAM_DEBUG
152- Serial.println (F (" [BOT Client]Conection error" ));
152+ Serial.println (F (" [BOT Client]Connection error" ));
153153 #endif
154154 }
155155 }
@@ -204,7 +204,7 @@ String UniversalTelegramBot::sendMultipartFormDataToTelegram(
204204 #endif
205205 if (!client->connect (TELEGRAM_HOST, TELEGRAM_SSL_PORT)) {
206206 #ifdef TELEGRAM_DEBUG
207- Serial.println (F (" [BOT Client]Conection error" ));
207+ Serial.println (F (" [BOT Client]Connection error" ));
208208 #endif
209209 }
210210 }
@@ -319,7 +319,7 @@ bool UniversalTelegramBot::getMe() {
319319
320320/* ********************************************************************************
321321 * SetMyCommands - Update the command list of the bot on the telegram server *
322- * (Argument to pass: Serialied array of BotCommand) *
322+ * (Argument to pass: Serialized array of BotCommand) *
323323 * CAUTION: All commands must be lower-case *
324324 * Returns true, if the command list was updated successfully *
325325 ********************************************************************************/
@@ -348,9 +348,9 @@ bool UniversalTelegramBot::setMyCommands(const String& commandArray) {
348348
349349
350350/* **************************************************************
351- * GetUpdates - function to receive messages from telegram *
352- * (Argument to pass: the last+1 message to read) *
353- * Returns the number of new messages *
351+ * GetUpdates - function to receive messages from telegram *
352+ * (Argument to pass: the last+1 message to read) *
353+ * Returns the number of new messages *
354354 ***************************************************************/
355355int UniversalTelegramBot::getUpdates (long offset) {
356356
0 commit comments