Skip to content

Commit 81ea998

Browse files
committed
Fixing some typos and style comment format in UniversalTelegramBot.cpp
1 parent a1952c4 commit 81ea998

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/UniversalTelegramBot.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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
***************************************************************/
355355
int UniversalTelegramBot::getUpdates(long offset) {
356356

0 commit comments

Comments
 (0)