# computer.spaces.preferences

> Your chat preferences at spaces.computer: who may reach you, who is ignored, which chats are muted, which messages are hidden. Private to you. One record, key self.

- Kind: record
- Record key: literal:self
- Authority: spaces.computer
- Lexicon: 1
- Published by [spaces.computer](https://lexicon.garden/identity/did:plc:fcup7ltuhyvyayda32fru55z), the NSID's authority

## Links

- [Documentation](https://lexicon.garden/lexicon/did:plc:fcup7ltuhyvyayda32fru55z/computer.spaces.preferences)
- [Schema JSON](https://lexicon.garden/lexicon/did:plc:fcup7ltuhyvyayda32fru55z/computer.spaces.preferences/schema.json)
- [Analytics](https://lexicon.garden/lexicon/did:plc:fcup7ltuhyvyayda32fru55z/computer.spaces.preferences/analytics)

## Record (`computer.spaces.preferences`)

Type: record · key literal:self

### Properties

- `hiddenMessages` (array): Messages and shared-folder files hidden after a report, on every device this account signs in on. Holds their URIs. The records are not changed.
  - Constraints: maxLength: 1000
  - `items` (string)
    - Constraints: maxLength: 2048
- `ignored` (array): Accounts whose invites are dropped without being shown.
  - Constraints: maxLength: 1000
  - `items` (string · did)
- `inviteReach` (string): Who may invite you, to a chat or to a shared calendar, list or folder: anyone, only people in your contacts, or nobody. open: any invite opens at once, no request step. For accounts that exist to be written to. A value an app does not know is read as nobody.
  - Constraints: default: "anyone", knownValues: anyone | contacts | nobody | open
- `mutedChats` (array): Chats that do not count as unread or badge the desktop. Each is a chat space: at:space/{authority}/computer.spaces.chat/{key}.
  - Constraints: maxLength: 1000
  - `items` (string)
    - Constraints: maxLength: 1024
- `removedChats` (array): Chats taken off the chat list, so they are not filed again. Each is a chat space: at:space/{authority}/computer.spaces.chat/{key}.
  - Constraints: maxLength: 1000
  - `items` (string)
    - Constraints: maxLength: 1024
- `seen` (array): The write ids of the earlier records this one was written from, newest last, so a writer can tell whether a newer record saw its change.
  - Constraints: maxLength: 32
  - `items` (string)
    - Constraints: maxLength: 64
- `updatedAt` (string · datetime, required): When these preferences were last changed.
- `write` (string): A random id for this save.
  - Constraints: maxLength: 64

## Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Your chat preferences at spaces.computer: who may reach you, who is ignored, which chats are muted, which messages are hidden. Private to you. One record, key self.",
      "key": "literal:self",
      "record": {
        "properties": {
          "hiddenMessages": {
            "description": "Messages and shared-folder files hidden after a report, on every device this account signs in on. Holds their URIs. The records are not changed.",
            "items": {
              "maxLength": 2048,
              "type": "string"
            },
            "maxLength": 1000,
            "type": "array"
          },
          "ignored": {
            "description": "Accounts whose invites are dropped without being shown.",
            "items": {
              "format": "did",
              "type": "string"
            },
            "maxLength": 1000,
            "type": "array"
          },
          "inviteReach": {
            "default": "anyone",
            "description": "Who may invite you, to a chat or to a shared calendar, list or folder: anyone, only people in your contacts, or nobody. open: any invite opens at once, no request step. For accounts that exist to be written to. A value an app does not know is read as nobody.",
            "knownValues": [
              "anyone",
              "contacts",
              "nobody",
              "open"
            ],
            "type": "string"
          },
          "mutedChats": {
            "description": "Chats that do not count as unread or badge the desktop. Each is a chat space: at:space/{authority}/computer.spaces.chat/{key}.",
            "items": {
              "maxLength": 1024,
              "type": "string"
            },
            "maxLength": 1000,
            "type": "array"
          },
          "removedChats": {
            "description": "Chats taken off the chat list, so they are not filed again. Each is a chat space: at:space/{authority}/computer.spaces.chat/{key}.",
            "items": {
              "maxLength": 1024,
              "type": "string"
            },
            "maxLength": 1000,
            "type": "array"
          },
          "seen": {
            "description": "The write ids of the earlier records this one was written from, newest last, so a writer can tell whether a newer record saw its change.",
            "items": {
              "maxLength": 64,
              "type": "string"
            },
            "maxLength": 32,
            "type": "array"
          },
          "updatedAt": {
            "description": "When these preferences were last changed.",
            "format": "datetime",
            "type": "string"
          },
          "write": {
            "description": "A random id for this save.",
            "maxLength": 64,
            "type": "string"
          }
        },
        "required": [
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "computer.spaces.preferences",
  "lexicon": 1
}
```
