{ "id": "chat.bsky.convo.leaveConvo", "defs": { "main": { "type": "procedure", "input": { "schema": { "type": "object", "required": [ "convoId" ], "properties": { "convoId": { "type": "string" } } }, "encoding": "application/json" }, "errors": [ { "name": "InvalidConvo" }, { "name": "OwnerCannotLeave", "description": "The owner of a group conversation cannot leave before locking the group." } ], "output": { "schema": { "type": "object", "required": [ "convoId", "rev" ], "properties": { "rev": { "type": "string" }, "convoId": { "type": "string" } } }, "encoding": "application/json" }, "description": "Leaves a conversation (direct or group). For group, this effectively removes membership. For direct, membership is never removed, only changed to remove from enumerations by the user who left." } }, "$type": "com.atproto.lexicon.schema", "lexicon": 1 }