com.getorbyt.community.replyModmail
Replies to a member's Modmail thread as the mod team. Requires manage-mail. Moderators cannot start a thread: they answer one a member opened. The member sees the reply in the thread and in Activity, from the team rather than from the moderator.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | community.getorbyt.com |
| Indexed |
Showing version bafyreigo2hnpudlv5cx3oao5jb4qhr7wgos2eahrfuysdpjvrp67hzzypq. Show the latest
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Replies to a member's Modmail thread as the mod team. Requires manage-mail. Moderators cannot start a thread: they answer one a member opened. The member sees the reply in the thread and in Activity, from the team rather than from the moderator.",
"errors": [
{
"name": "AuthenticationRequired"
},
{
"name": "CommunityNotFound"
},
{
"name": "InsufficientRole"
},
{
"name": "InvalidRequest"
},
{
"description": "The thread is the caller's own.",
"name": "InvalidAction"
},
{
"name": "ThreadNotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"community": {
"format": "at-uri",
"type": "string"
},
"member": {
"description": "The member whose thread this answers.",
"format": "did",
"type": "string"
},
"text": {
"maxLength": 2000,
"minLength": 1,
"type": "string"
}
},
"required": [
"community",
"member",
"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.replyModmail",
"lexicon": 1
}