Long polling gives me the same updates again and again!

Long polling gives me the same updates again and again!

Telegram Bot Support

The getUpdates method returns the earliest 100 unconfirmed updates. To confirm an update, use the offset parameter when calling getUpdates like this:

offset = update_id of last processed update + 1

All updates with update_id less than or equal to offset will be marked as confirmed on the server and will no longer be returned.

See also:





Report Page