Skip to content

Commit 34ece39

Browse files
committed
upd
1 parent 1b460d6 commit 34ece39

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=FastBot
2-
version=2.27.2
2+
version=2.27.3
33
author=AlexGyver <[email protected]>
44
maintainer=AlexGyver <[email protected]>
55
sentence=Fast ESP8266/ESP32 library for Telegram bot (messages, menus, time sync, OTA update + SPIFFS, files upload and download)

src/FastBot.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1197,7 +1197,7 @@ class FastBot {
11971197
if (ID < 0) ID = 0;
11981198
return 1;
11991199
}
1200-
int16_t counter = 0;
1200+
int32_t counter = 0;
12011201
while (true) {
12021202
if (IDpos < 0 || IDpos == (int16_t)str.length()) break;
12031203
bool skip = (ID == -1);
@@ -1328,7 +1328,7 @@ class FastBot {
13281328
first_name,
13291329
first_name,
13301330
_lastUsrMsg,
1331-
ID + (int32_t)(counter - 1),
1331+
ID + counter - 1,
13321332
query,
13331333
#ifdef FB_WITH_LOCATION
13341334
fb_location

src/datatypes.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ struct FB_msg {
4040
String& last_name; // фамилия
4141
int32_t ID; // ID сообщения
4242

43-
uint32_t update_id; // id апдейта
43+
int32_t update_id; // id апдейта
4444
String& query_id; // id query
4545

4646
#ifdef FB_WITH_LOCATION

0 commit comments

Comments
 (0)