X Tutup
Skip to content

confirm processed message in examples#43

Merged
leandrotoledo merged 1 commit intopython-telegram-bot:masterfrom
rahiel:master
Aug 20, 2015
Merged

confirm processed message in examples#43
leandrotoledo merged 1 commit intopython-telegram-bot:masterfrom
rahiel:master

Conversation

@rahiel
Copy link
Copy Markdown
Contributor

@rahiel rahiel commented Aug 20, 2015

You used that if LAST_UPDATE_ID < update.update_id because .getUpdates sends updates from and including LAST_UPDATE_ID, the last message that we already processed. Now it's one bigger so telegram considers the update as confirmed and doesn't resend it. (from the offset description)

@leandrotoledo
Copy link
Copy Markdown
Member

Very well noted, thank you for your pull request.

leandrotoledo added a commit that referenced this pull request Aug 20, 2015
confirm processed message in examples
@leandrotoledo leandrotoledo merged commit 92ca923 into python-telegram-bot:master Aug 20, 2015
@github-actions github-actions bot locked and limited conversation to collaborators Aug 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

X Tutup