Assign a moderator role to a user for a specific room.
Record Key
tid
Timestamp-based ID
Properties
View raw schema
{
"key": "tid",
"type": "record",
"record": {
"type": "object",
"required": [
"room",
"subject",
"role",
"createdAt"
],
"properties": {
"role": {
"type": "string",
"description": "The role being assigned.",
"knownValues": [
"moderator",
"owner"
]
},
"room": {
"type": "string",
"format": "at-uri",
"description": "AT-URI of the room."
},
"subject": {
"type": "string",
"format": "did",
"description": "DID of the user being assigned the role."
},
"createdAt": {
"type": "string",
"format": "datetime",
"description": "Timestamp of role assignment."
}
}
},
"description": "Assign a moderator role to a user for a specific room."
}