We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a1952c4 + fac27fe commit 993f88cCopy full SHA for 993f88c
src/UniversalTelegramBot.cpp
@@ -436,7 +436,7 @@ int UniversalTelegramBot::getUpdates(long offset) {
436
}
437
438
bool UniversalTelegramBot::processResult(JsonObject result, int messageIndex) {
439
- int update_id = result["update_id"];
+ long update_id = result["update_id"];
440
// Check have we already dealt with this message (this shouldn't happen!)
441
if (last_message_received != update_id) {
442
last_message_received = update_id;
0 commit comments