# fyi.opensocial.watchConversation

> Published by [lexicons.opensocial.fyi](https://lexicon.garden/identity/did:plc:2gqnilpksz2e7faj3bwvo6qc)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.watchConversation)
- [Documentation](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.watchConversation/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.watchConversation/examples)

## Definitions

### `fyi.opensocial.watchConversation`

**Type**: `procedure`

Ask to be told, on the live stream (/space-events), whenever something is written in a conversation: a space one of its people owns, which the host has been registered to hear (com.atproto.space.registerNotify). Each ping is `event: conversation` with `{ space, repo }` and nothing of what was said. Lasts a day; ask again to keep it.

#### Input

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `space` | `string` (at-uri) | Yes | The conversation: at://<owner>/space/fyi.opensocial.conversation/<key>. |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `expiresAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Ask to be told, on the live stream (/space-events), whenever something is written in a conversation: a space one of its people owns, which the host has been registered to hear (com.atproto.space.registerNotify). Each ping is `event: conversation` with `{ space, repo }` and nothing of what was said. Lasts a day; ask again to keep it.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "space": {
              "description": "The conversation: at://<owner>/space/fyi.opensocial.conversation/<key>.",
              "format": "at-uri",
              "type": "string"
            }
          },
          "required": [
            "space"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "expiresAt": {
              "format": "datetime",
              "type": "string"
            }
          },
          "required": [
            "expiresAt"
          ],
          "type": "object"
        }
      },
      "type": "procedure"
    }
  },
  "id": "fyi.opensocial.watchConversation",
  "lexicon": 1
}
```
