Get updates
Changed onYou can use this method for getting updates in case your bot is not subscribed to WebHook. The method is based on long polling.
Every update has its own sequence number. marker property in response points to the next upcoming update.
All previous updates are considered as committed after passing marker parameter. If marker parameter is not passed, your bot will get all updates happened after the last commitment.
Request
- Base URLhttps://botapi.tamtam.chat
- URLhttps://botapi.tamtam.chat/updates
- AuthAPI key in query parameter access_token
Query parameters
Maximum number of updates to be retrieved
Timeout in seconds for long polling
Pass null to get updates you didn't get yet
Comma separated list of update types your bot want to receive
Response
List of updates
Changes
- info
added
message_construction_requestmessage_constructeddiscriminator mapping keys to the/response property for the response status
- info
- info
added
message_chat_createddiscriminator mapping keys to the/response property for the response status
- info