Skip to content

Commit 993f88c

Browse files
authored
Merge pull request witnessmenow#330 from gmcode85/patch-1
Update for lower resoruce boards
2 parents a1952c4 + fac27fe commit 993f88c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/UniversalTelegramBot.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,7 @@ int UniversalTelegramBot::getUpdates(long offset) {
436436
}
437437

438438
bool UniversalTelegramBot::processResult(JsonObject result, int messageIndex) {
439-
int update_id = result["update_id"];
439+
long update_id = result["update_id"];
440440
// Check have we already dealt with this message (this shouldn't happen!)
441441
if (last_message_received != update_id) {
442442
last_message_received = update_id;

0 commit comments

Comments
 (0)