{
  "id": "message.identifier_missing",
  "category": "request_validation",
  "summary": "The request did not specify a message identifier for the selected operation.",
  "match_any": [
    {
      "error_code": 400,
      "description_exact": "Bad Request: message identifier is not specified"
    }
  ],
  "scope": {
    "method_examples": [
      "editMessageText",
      "editMessageCaption"
    ],
    "exhaustive": false
  },
  "possible_causes": [
    "The inline-message path was selected without a nonempty inline_message_id."
  ],
  "diagnostic_limits": "This signature does not diagnose all missing message_id arguments; a chat-based lookup may return an operation-specific not-found error.",
  "evidence": [
    {
      "source": "server-10.3",
      "path": "telegram-bot-api/Client.cpp",
      "lines": [
        13540,
        13545
      ],
      "note": "The inline-message identifier helper rejects an empty argument."
    },
    {
      "source": "server-10.3",
      "path": "telegram-bot-api/Client.cpp",
      "lines": [
        14659,
        14665
      ],
      "note": "Editing takes this path when chat_id is empty and the parsed message_id is zero."
    },
    {
      "source": "server-10.3",
      "path": "telegram-bot-api/Client.cpp",
      "lines": [
        13800,
        13803
      ],
      "note": "Method validation errors are passed to the response normalizer."
    },
    {
      "source": "server-10.3",
      "path": "telegram-bot-api/Client.cpp",
      "lines": [
        165,
        205
      ],
      "note": "Adds the code-specific prefix and lowercases only the initial character of ordinary messages."
    }
  ],
  "example": {
    "method": "editMessageText",
    "response": {
      "ok": false,
      "error_code": 400,
      "description": "Bad Request: message identifier is not specified"
    }
  },
  "evidence_level": "source_derived",
  "guidance": {
    "action": "supply_message_target",
    "repeat_request": "after_relevant_change",
    "preconditions": [
      "Supply the intended inline_message_id or the appropriate chat_id and message_id pair."
    ]
  }
}
