project.resource.deleted
Resource soft-deleted from a project.
This is the final event you will receive for the given resource_id. The row
is retained with deleted_at stamped and disappears from the API.
When this fires
A resource is soft-deleted by the creator through the REST API or MCP. Existing subscriber access to the underlying chat is not revoked by this action and no member.resource_removed events follow from it.
Required ability
project-resource:view — token must carry this at mint time to subscribe an endpoint to this event.
Payload
{
"id": "evt_01HX...",
"type": "project.resource.deleted",
"created_at": "2026-05-18T10:05:00Z",
"api_version": "2026-05-01",
"project_id": "7f3d1c92-8b45-4e6a-9d21-5c8e0a4b6f13",
"data": {
"resource": {
"id": "b73c5f21-9d80-4a6e-8215-4f70ce13a9d6",
"title": "Sunday Slate Channel",
"type": "channel",
"chat_id": "e41a9b06-2c78-4f3d-95b2-08d7c1a5e934",
"active": true
}
}
}Field reference
| Field | Type | Notes |
|---|---|---|
id | string ULID | Unique event id, prefixed evt_. Use for idempotent processing. |
type | string | Always project.resource.deleted for this event. |
created_at | ISO 8601 timestamp | Server-side emission time. |
api_version | string | Webhook API contract version. |
project_id | string UUID | Project this event belongs to. |
data.resource | object | Snapshot of the resource as it was immediately before deletion. |
data.resource.id | string UUID | Resource that was soft-deleted. |
data.resource.title | string | Last-known title. |
data.resource.type | string | One of channel, group, supergroup, manual. |
data.resource.chat_id | string UUID, nullable | UUID of the linked telegram_chats record, or null for manual resources and unlinked rows — not Telegram's numeric chat id. |
data.resource.active | boolean | Last-known active flag. |
Caveats
- After this event, API endpoints scoped to the resource respond
404.
Related events
project.resource.unlinked— typical predecessor.- Project events overview — back to family overview.
How is this guide?