{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/green-api-com/json-schema/green-api-com-post-wainstance-idinstance-sendmessage-apitokeninstance-request-schema.json",
  "title": "PostWainstanceIdinstanceSendmessageApitokeninstanceRequest",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/green-api-com-openapi-generated.yml#/components/schemas/PostWainstanceIdinstanceSendmessageApitokeninstanceRequest",
  "type": "object",
  "properties": {
    "chatId": {
      "type": "string",
      "description": "Идентификатор чата"
    },
    "message": {
      "type": "string",
      "description": "Текст сообщения. Поддерживаются символы emoji 😃 . Максимальная длина 20000 символов."
    },
    "quotedMessageId": {
      "type": "string",
      "description": "Идентификатор цитируемого сообщения."
    },
    "linkPreview": {
      "type": "boolean",
      "description": "Включает отображение превью и описание ссылки."
    },
    "typePreview": {
      "type": "string",
      "description": "Размер превью (large или small)."
    },
    "customPreview": {
      "type": "object",
      "description": "Объект пользовательского превью."
    },
    "typingTime": {
      "type": "integer",
      "description": "Время показа уведомления набора сообщения (1000‑20000 мс)."
    }
  },
  "required": [
    "chatId",
    "message"
  ]
}