---
title: "chat.dm-block-state-result@1 · OpenVibe.Services"
canonical: "https://openvibe.services/docs/contracts/chat.dm-block-state-result"
updated: null
---

# chat.dm-block-state-result@1 · OpenVibe.Services

HTML: [chat.dm-block-state-result@1 · OpenVibe.Services](https://openvibe.services/docs/contracts/chat.dm-block-state-result)

# ChatDmBlockStateResult `chat.dm-block-state-result@1`

Generated at 2026-12-01 05:42:00 UTC from [`openvibe-contracts v0.454.0`](https://github.com/OpenVibers/OpenVibe.Contracts/tree/v0.454.0) and [`openvibe-sdk v0.193.0`](https://github.com/OpenVibers/OpenVibe.SDK/tree/v0.193.0).

- Version: 1.0.0
- Owner: chat
- Visibility: first-party
- Status: active
- Compatibility: backward
- Schema: [`https://openvibe.network/contracts/chat/dm-block-state-result.v1.json`](/docs/contracts/chat.dm-block-state-result.json)

chat.dm-block-state-result@1: the answer of GET /internal/chat/dm/block-state?a&b on OpenVibe.Chat (capability chat.messages.read): blocked is true when either user has blocked the other, in Chat's dm\_blocks or as a Network platform block (dm.js isBlockedEither, the check the DM and call routes use). a and b are positive Live user ids and must differ; OpenVibe.Live asks this before sending a call invite. A failure is chat.ingress-ack@1's error.

## Fields

This schema has no named fields.

## Examples

From the contract's own test fixtures: valid ones validate, rejected ones must fail.

 Valid: blocked

~~~~
{
  "ok": true,
  "blocked": true
}
~~~~

Rejected: missing-blocked

~~~~
{
  "ok": true
}
~~~~

## Validate

~~~~
const contracts = require('openvibe-contracts');
contracts.validate('chat.dm-block-state-result@1', value);   // { valid, errors: [{ path, message }] }
~~~~
