{ "meta": {}, "group": { "title": "Getting updates", "anchor": "getting-updates" }, "object": { "anchor": "getupdates", "name": "getUpdates", "description": "Use this method to receive incoming updates using long polling (wiki). Returns an Array of Update objects.\nNotes\n1. This method will not work if an outgoing webhook is set up.\n2. In order to avoid getting duplicate updates, recalculate offset after each server response.", "html_description": "
Use this method to receive incoming updates using long polling (wiki). Returns an Array of Update objects.
\n", "rst_description": "Use this method to receive incoming updates using long polling (`wikiNotes
\n
\n1. This method will not work if an outgoing webhook is set up.
\n2. In order to avoid getting duplicate updates, recalculate offset after each server response.
[\"message\", \"edited_channel_post\", \"callback_query\"] to only receive updates of these types. See Update for a complete list of available update types. Specify an empty list to receive all update types except chat_member, message_reaction, and message_reaction_count (default). If not specified, the previous setting will be used.