@@ -72,7 +72,7 @@ String UniversalTelegramBot::sendGetToTelegram(const String& command) {
72
72
#endif
73
73
if (!client->connect (TELEGRAM_HOST, TELEGRAM_SSL_PORT)) {
74
74
#ifdef TELEGRAM_DEBUG
75
- Serial.println (F (" [BOT]Conection error" ));
75
+ Serial.println (F (" [BOT]Connection error" ));
76
76
#endif
77
77
}
78
78
}
@@ -149,7 +149,7 @@ String UniversalTelegramBot::sendPostToTelegram(const String& command, JsonObjec
149
149
#endif
150
150
if (!client->connect (TELEGRAM_HOST, TELEGRAM_SSL_PORT)) {
151
151
#ifdef TELEGRAM_DEBUG
152
- Serial.println (F (" [BOT Client]Conection error" ));
152
+ Serial.println (F (" [BOT Client]Connection error" ));
153
153
#endif
154
154
}
155
155
}
@@ -204,7 +204,7 @@ String UniversalTelegramBot::sendMultipartFormDataToTelegram(
204
204
#endif
205
205
if (!client->connect (TELEGRAM_HOST, TELEGRAM_SSL_PORT)) {
206
206
#ifdef TELEGRAM_DEBUG
207
- Serial.println (F (" [BOT Client]Conection error" ));
207
+ Serial.println (F (" [BOT Client]Connection error" ));
208
208
#endif
209
209
}
210
210
}
@@ -319,7 +319,7 @@ bool UniversalTelegramBot::getMe() {
319
319
320
320
/* ********************************************************************************
321
321
* 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) *
323
323
* CAUTION: All commands must be lower-case *
324
324
* Returns true, if the command list was updated successfully *
325
325
********************************************************************************/
@@ -348,9 +348,9 @@ bool UniversalTelegramBot::setMyCommands(const String& commandArray) {
348
348
349
349
350
350
/* **************************************************************
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 *
354
354
***************************************************************/
355
355
int UniversalTelegramBot::getUpdates (long offset) {
356
356
0 commit comments