chatBskyGroupEditGroup top-level constant

Map<String, dynamic> const chatBskyGroupEditGroup

chat.bsky.group.editGroup

Implementation

const chatBskyGroupEditGroup = <String, dynamic>{
  "lexicon": 1,
  "id": "chat.bsky.group.editGroup",
  "defs": {
    "main": {
      "type": "procedure",
      "description": "Edits group settings.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["convoId", "name"],
          "properties": {
            "convoId": {"type": "string"},
            "name": {
              "type": "string",
              "minLength": 1,
              "maxLength": 500,
              "maxGraphemes": 50,
            },
          },
        },
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "type": "object",
          "required": ["convo"],
          "properties": {
            "convo": {"type": "ref", "ref": "chat.bsky.convo.defs#convoView"},
          },
        },
      },
      "errors": [
        {"name": "ConvoLocked"},
        {"name": "InvalidConvo"},
        {"name": "InsufficientRole"},
      ],
    },
  },
};