app.protoimsg.chat.channel

lexicon.store View official

Documentation

A channel within a chat room. Created by the room owner.

main record

A channel within a chat room. Created by the room owner.

Record Key tid Timestamp-based ID

Properties

createdAt string datetime Required

Timestamp of channel creation.

description string Optional

What the channel is about.

maxLength: 500 bytes
name string Required

Display name for the channel.

maxLength: 100 bytes
position integer Optional

Sort position within the room. Lower numbers appear first.

minimum: 0
postPolicy string Optional

Who can post messages in this channel.

Known values: everyone, owner, moderators
room string at-uri Required

AT-URI of the room this channel belongs to.

View raw schema
{
  "key": "tid",
  "type": "record",
  "record": {
    "type": "object",
    "required": [
      "room",
      "name",
      "createdAt"
    ],
    "properties": {
      "name": {
        "type": "string",
        "maxLength": 100,
        "description": "Display name for the channel."
      },
      "room": {
        "type": "string",
        "format": "at-uri",
        "description": "AT-URI of the room this channel belongs to."
      },
      "position": {
        "type": "integer",
        "minimum": 0,
        "description": "Sort position within the room. Lower numbers appear first."
      },
      "createdAt": {
        "type": "string",
        "format": "datetime",
        "description": "Timestamp of channel creation."
      },
      "postPolicy": {
        "type": "string",
        "description": "Who can post messages in this channel.",
        "knownValues": [
          "everyone",
          "owner",
          "moderators"
        ]
      },
      "description": {
        "type": "string",
        "maxLength": 500,
        "description": "What the channel is about."
      }
    }
  },
  "description": "A channel within a chat room. Created by the room owner."
}

Lexicon Garden

@