Chats and channels
Chats, channels, channel logs, chat messages, and channel messages visible to the connected account.
Telegram API
Connect a Telegram account slot and call tenant-scoped GET endpoints for Telegram data available to the connected account, including chats and channels it has joined but does not own. dataz.md is not the Telegram Bot API and does not send messages or change Telegram state.
Keep endpoint claims limited to the verified read-only categories available in the current API.
Chats, channels, channel logs, chat messages, and channel messages visible to the connected account.
Contacts, existing friends, direct-message lists, direct-message history, and members.
Forum topics and topic messages for chats and channels where the account has access.
The tenant gateway route includes the workspace slug and account slug; the provider is inferred from the account.
GET /v1/{tenant_slug}/accounts/{account_slug}/chats
GET /v1/{tenant_slug}/accounts/{account_slug}/channels/{channel_id}/messages
GET /v1/{tenant_slug}/accounts/{account_slug}/contacts
GET /v1/{tenant_slug}/accounts/{account_slug}/topics/{chat_id}/{topic_id}/messages
Authorization: Bearer <key> or X-API-Key with tenant gateway calls.Calls hit a tenant-scoped gateway, which reads through the connected account and returns plain JSON. Nothing in the path can write to Telegram.
GET /v1/{tenant_slug}/accounts/{account_slug}/chats
[
{
"id": "-1001234567890",
"name": "Example channel",
"type": "channel",
"username": "example_channel",
"unread_count": 0
},
{
"id": "-1009876543210",
"name": "Second example group",
"type": "group",
"username": null,
"unread_count": 3
}
]
limit query parameter. Chat listings default to 100 with a ceiling of 500; chat messages default to 50 with a ceiling of 100; member reads default to 100 with a ceiling of 1000.code: "provider_rate_limited", retryable: true, and retry_after_seconds, plus a Retry-After header.X-Request-ID and X-Dataz-Request-ID for support correlation.Open the Telegram docs for endpoint details, or create a workspace and activate an account slot.
Last updated