{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/gramclaw-com/json-schema/gramclaw-com-attachment-send-request-schema.json",
  "title": "AttachmentSendRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/gramclaw-com-api-openapi.json#/components/schemas/AttachmentSendRequest",
  "type": "object",
  "required": [
    "account_id",
    "chat_id",
    "attachments"
  ],
  "properties": {
    "account_id": {
      "type": "string"
    },
    "chat_id": {
      "type": "string",
      "pattern": "^telegram:chat:-?[0-9]+$"
    },
    "text": {
      "type": "string",
      "maxLength": 4096
    },
    "attachments": {
      "type": "string",
      "format": "binary",
      "description": "Exactly one file, maximum 25 MiB. Multiple attachments are rejected."
    }
  }
}