Skip to content

Commit

Permalink
upd
Browse files Browse the repository at this point in the history
  • Loading branch information
GyverLibs committed Oct 6, 2024
1 parent 1b460d6 commit 34ece39
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=FastBot
version=2.27.2
version=2.27.3
author=AlexGyver <[email protected]>
maintainer=AlexGyver <[email protected]>
sentence=Fast ESP8266/ESP32 library for Telegram bot (messages, menus, time sync, OTA update + SPIFFS, files upload and download)
Expand Down
4 changes: 2 additions & 2 deletions src/FastBot.h
Original file line number Diff line number Diff line change
Expand Up @@ -1197,7 +1197,7 @@ class FastBot {
if (ID < 0) ID = 0;
return 1;
}
int16_t counter = 0;
int32_t counter = 0;
while (true) {
if (IDpos < 0 || IDpos == (int16_t)str.length()) break;
bool skip = (ID == -1);
Expand Down Expand Up @@ -1328,7 +1328,7 @@ class FastBot {
first_name,
first_name,
_lastUsrMsg,
ID + (int32_t)(counter - 1),
ID + counter - 1,
query,
#ifdef FB_WITH_LOCATION
fb_location
Expand Down
2 changes: 1 addition & 1 deletion src/datatypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ struct FB_msg {
String& last_name; // фамилия
int32_t ID; // ID сообщения

uint32_t update_id; // id апдейта
int32_t update_id; // id апдейта
String& query_id; // id query

#ifdef FB_WITH_LOCATION
Expand Down

0 comments on commit 34ece39

Please sign in to comment.