docs(api): clarify message delete semantics and channel constraints
Some checks failed
CI / test (push) Failing after 1m6s

This commit is contained in:
2026-03-08 20:15:46 +03:00
parent 80bda6e537
commit 58c80460fa

View File

@@ -969,6 +969,16 @@ Response: `200` + `MessageRead`
Auth required.
Response: `204`
Behavior:
- `for_all=false`:
- in regular chats: hides message only for current user.
- in channels: not allowed (`422`), channel messages are delete-for-all only.
- `for_all=true`:
- private chats: allowed.
- own messages: allowed.
- group/channel messages by others: allowed only for `owner/admin`.
### POST `/api/v1/messages/status`
Auth required.