com.getorbyt.community.sendModmail
"Message the mods": opens the caller's private thread with the Community's mod team, or continues it. Each account has one thread per Community, and a message reopens it if the mod team archived it. Anyone signed in may write, including a muted or banned member; whoever holds manage-mail answers with replyModmail instead. Rate-limited per sender.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | community.getorbyt.com |
| Indexed |
Showing version bafyreidkbhmrh5ywxsfvct42suyu53qil52at5vbob5xwpun6txdscj5u4. Show the latest
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "\"Message the mods\": opens the caller's private thread with the Community's mod team, or continues it. Each account has one thread per Community, and a message reopens it if the mod team archived it. Anyone signed in may write, including a muted or banned member; whoever holds manage-mail answers with replyModmail instead. Rate-limited per sender.",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "CommunityNotFound"
},
{
"name": "InvalidRequest"
},
{
"description": "The caller holds manage-mail, so they answer members rather than write to their own team.",
"name": "InvalidAction"
},
{
"name": "RateLimitExceeded"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"clientId": {
"description": "The sender's own id for this message, so a send retried after a lost answer returns the message it already created rather than a second one. Opaque to the service; repeated by the same account in the same thread it names that message.",
"maxLength": 64,
"type": "string"
},
"community": {
"format": "at-uri",
"type": "string"
},
"text": {
"maxLength": 2000,
"minLength": 1,
"type": "string"
}
},
"required": [
"community",
"text"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"message": {
"ref": "com.getorbyt.community.defs#modmailMessageView",
"type": "ref"
},
"thread": {
"ref": "com.getorbyt.community.defs#modmailThreadView",
"type": "ref"
}
},
"required": [
"thread",
"message"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "com.getorbyt.community.sendModmail",
"lexicon": 1
}