CRMchat APIBeta

updateServiceNotification

A service message for the user. The app must show the message to the user upon receiving this update. In case the popup parameter was passed, the text message must be displayed in a popup alert immediately upon receipt. It is recommended to handle the text as you would an ordinary message in terms of highlighting links, etc. The message must also be stored locally as part of the message history with the user id 777000 (Telegram Notifications).

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.updateServiceNotification"

Value in

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

Response Body

Example Requests

POST/telegram.updateServiceNotification