GetUpdatesApi
Use this method to receive incoming updates using long polling (wiki). Returns an Array of Update objects.
Notes
This method will not work if an outgoing webhook is set up.
In order to avoid getting duplicate updates, recalculate offset after each server response.
To create a long polling as a Flow, see getUpdateFlow.
Author
ForteScarlet
See also
Types
Parameters of GetUpdatesApi
Properties
The result's DeserializationStrategy of this Method.
The TelegramApiResult's DeserializationStrategy of this Method.
Inherited properties
A special deserialization for body. If it is null
, then try to 'guess' the body serializer. This is usually overridden when the body is not null
and you need to customize its serializer.
Headers for request. Default is Headers.Empty.
Inherited functions
Request the TelegramApi by client with token.
Request the TelegramApi by client with token.
Request the TelegramApi by client with token.