# fyi.opensocial.listPeopleChannels

> 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.listPeopleChannels)
- [Documentation](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.listPeopleChannels/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:2gqnilpksz2e7faj3bwvo6qc/fyi.opensocial.listPeopleChannels/examples)

## Definitions

### `fyi.opensocial.listPeopleChannels#channelView`

**Type**: `object`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `files` | `array` | No | Its tabs' files, each read with getSpaceBlob from the channel's space. |
| `name` | `string` | Yes |  |
| `people` | `array` | Yes |  |
| `slug` | `string` | Yes |  |
| `tabs` | `array` | Yes |  |
| `uri` | `string` (at-uri) | Yes | Its space. |

### `fyi.opensocial.listPeopleChannels`

**Type**: `query`

The group's channels kept for chosen people that you're one of: each with who it's for, its tabs and their files. Nobody else learns they exist.

#### Parameters

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `group` | `string` (did) | Yes |  |

#### Output

**Encoding**: `application/json`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `channels` | `array` | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "channelView": {
      "properties": {
        "files": {
          "description": "Its tabs' files, each read with getSpaceBlob from the channel's space.",
          "items": {
            "ref": "fyi.opensocial.defs#file",
            "type": "ref"
          },
          "type": "array"
        },
        "name": {
          "type": "string"
        },
        "people": {
          "items": {
            "format": "did",
            "type": "string"
          },
          "type": "array"
        },
        "slug": {
          "type": "string"
        },
        "tabs": {
          "items": {
            "ref": "fyi.opensocial.site#tab",
            "type": "ref"
          },
          "type": "array"
        },
        "uri": {
          "description": "Its space.",
          "format": "at-uri",
          "type": "string"
        }
      },
      "required": [
        "uri",
        "slug",
        "name",
        "people",
        "tabs"
      ],
      "type": "object"
    },
    "main": {
      "description": "The group's channels kept for chosen people that you're one of: each with who it's for, its tabs and their files. Nobody else learns they exist.",
      "output": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "channels": {
              "items": {
                "ref": "#channelView",
                "type": "ref"
              },
              "type": "array"
            }
          },
          "required": [
            "channels"
          ],
          "type": "object"
        }
      },
      "parameters": {
        "properties": {
          "group": {
            "format": "did",
            "type": "string"
          }
        },
        "required": [
          "group"
        ],
        "type": "params"
      },
      "type": "query"
    }
  },
  "id": "fyi.opensocial.listPeopleChannels",
  "lexicon": 1
}
```
