Telegram Getting Updates API
Methods for receiving incoming updates from Telegram
Telegram Getting Updates API is one of 10 APIs that Telegram publishes on the APIs.io network, described by a machine-readable OpenAPI specification.
Tagged areas include Getting Updates. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, a getting-started guide, a GitHub repository, authentication docs, and a changelog.
This API exposes 4 operations across 4 paths, and defines 8 schemas. It is described by OpenAPI 3.0.3, at version 9.5.
Requests are made against a single base URL, https://api.telegram.org/bot{token}.
Metadata
The identity and technical contract details declared by the specification.
Authentication & Security 1
Telegram Getting Updates API declares
1 security scheme
for authenticating requests.
An API key is passed in the path as token (BotToken).
By default, every request must be authenticated.
BotToken— Bot authentication token obtained from @BotFather (embedded in URL path)
Paths & Operations 4
Across 4 paths, the API surfaces 4 operations — 4 POST. Each is listed below with its method, path, parameters, and response codes.
Methods for receiving incoming updates from Telegram
Schemas 8
The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are Chat (9 properties), WebhookInfo (8 properties), User (7 properties), Message (6 properties). Each schema is shown below with its type and property counts.
Specification
The full machine-readable OpenAPI contract behind this narrative.
Source
More from Telegram 9
Other APIs Telegram publishes across the network.