CRMchat APIBeta

updateChat

Chat (RawChat and/or RawChatFull) information was updated. This update can only be received through getDifference or in RawUpdates/RawUpdatesCombined constructors, so it will always come bundled with the updated RawChat, that should be applied as usual, without re-fetching the info manually. However, full peer information will not come bundled in updates, so the full peer cache (RawChatFull) must be invalidated for chat_id when receiving this update.

Header Parameters

X-Webhook-Signature*string

HMAC-SHA256 hex digest of the raw request body

X-Webhook-Event*string

The delivered Telegram event type

X-Webhook-Id*string

Unique event ID for idempotency

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

eventId*string

Unique event identifier

eventType*"telegram.updateChat"

Value in

  • "telegram.updateChat"
eventDate*string
Formatdate-time
workspaceId*string
data*

Response Body

Example Requests

POST/telegram.updateChat