Edit me

There are 2 ways for getting updates:

  • Long polling mechanics;
  • Webhook mechanics.

For long polling retrieveUpdate method is used.

For webhook 3 following methods are used:

No matter what way of getting updates was chosen service would get JSON-serialized UpdateResponse type as a result .