app.protoimsg.chat.channel
A channel within a chat room. Created by the room owner.
Details · record, key tid
| Kind | record |
|---|---|
| Record key | tid |
| Authority | chat.protoimsg.app |
| Indexed |
Checks
Validunlimited-stringdefs.main.record.properties.postPolicyNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "A channel within a chat room. Created by the room owner.",
"key": "tid",
"record": {
"properties": {
"createdAt": {
"description": "Timestamp of channel creation.",
"format": "datetime",
"type": "string"
},
"description": {
"description": "What the channel is about.",
"maxLength": 500,
"type": "string"
},
"name": {
"description": "Display name for the channel.",
"maxLength": 100,
"type": "string"
},
"position": {
"description": "Sort position within the room. Lower numbers appear first.",
"minimum": 0,
"type": "integer"
},
"postPolicy": {
"description": "Who can post messages in this channel.",
"knownValues": [
"everyone",
"owner",
"moderators"
],
"type": "string"
},
"room": {
"description": "AT-URI of the room this channel belongs to.",
"format": "at-uri",
"type": "string"
}
},
"required": [
"room",
"name",
"createdAt"
],
"type": "object"
},
"type": "record"
}
},
"id": "app.protoimsg.chat.channel",
"lexicon": 1
}