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

# chat.first-chat-result@1 · OpenVibe.Services

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

# ChatFirstChatResult `chat.first-chat-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/first-chat-result.v1.json`](/docs/contracts/chat.first-chat-result.json)

chat.first-chat-result@1: the answer of GET /internal/chat/first-chat?channel\_id&identity on OpenVibe.Chat (capability chat.analysis.read), OpenVibe.Live's welcome check (isFirstChatInChannel): first is true when identity (user:<user\_id>, anon:<anonId> or ext:<prefixed username>) has never chatted in the channel, from stream\_first\_chats, and false when it has. channel\_id is the channel owner's Live user id (stream\_first\_chats.channel\_user\_id), not Chat's ctx\_channels.id. 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: first

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

Rejected: missing-first

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

## Validate

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