# EditResult Estrutura de dados do contrato OpenAPI. ## Campos | Campo | Tipo | Presença | Descrição | |---|---|---|---| | `success` | `boolean` | obrigatório | Valores: `true` | | `id` | `string` | obrigatório | owner:id do original. | | `messageid` | `string` | obrigatório | ID do original. | | `messageId` | `string` | opcional | — | | `editId` | `string` | obrigatório | ID da ação de edição. | | `content` | `string` | opcional | — | | `messageType` | `string` | opcional | — | | `messageTimestamp` | `integer` | opcional | Unix em milissegundos. Formato: `int64` | | `timestamp` | `integer` | opcional | Unix em segundos. Formato: `int64` | | `status` | `string` | opcional | — | | `owner` | `string` | opcional | — | | `editCount` | `integer` | opcional | — | | `recorded` | `boolean` | obrigatório | false: WhatsApp aceitou mas a persistência local falhou. | ## Definição OpenAPI ```json { "type": "object", "properties": { "success": { "type": "boolean", "enum": [ true ] }, "id": { "type": "string", "description": "owner:id do original." }, "messageid": { "type": "string", "description": "ID do original." }, "messageId": { "type": "string" }, "editId": { "type": "string", "description": "ID da ação de edição." }, "content": { "type": "string" }, "messageType": { "type": "string" }, "messageTimestamp": { "type": "integer", "description": "Unix em milissegundos.", "format": "int64" }, "timestamp": { "type": "integer", "description": "Unix em segundos.", "format": "int64" }, "status": { "type": "string" }, "owner": { "type": "string" }, "editCount": { "type": "integer" }, "recorded": { "type": "boolean", "description": "false: WhatsApp aceitou mas a persistência local falhou." } }, "required": [ "success", "id", "messageid", "editId", "recorded" ] } ```