FindChatsRequest

Estrutura de dados do contrato OpenAPI.

Estrutura de dados do contrato OpenAPI.

Campos

CampoTipoPresençaDescrição
limitinteger / stringopcional0/ausente retorna até 5000. Padrão: 5000
offsetinteger / stringopcionalDeslocamento da página.
wa_isGroupboolean / string / integer / nullopcional
includeLeftboolean / string / integer / nullopcional

Definição OpenAPI

json
{
  "type": "object",
  "properties": {
    "limit": {
      "oneOf": [
        {
          "type": "integer",
          "minimum": 0,
          "maximum": 5000
        },
        {
          "type": "string",
          "description": "Inteiro em formato decimal.",
          "pattern": "^\\d+$"
        }
      ],
      "description": "0/ausente retorna até 5000.",
      "default": 5000
    },
    "offset": {
      "oneOf": [
        {
          "type": "integer",
          "minimum": 0
        },
        {
          "type": "string",
          "description": "Inteiro em formato decimal.",
          "pattern": "^\\d+$"
        }
      ],
      "description": "Deslocamento da página."
    },
    "wa_isGroup": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "string",
          "enum": [
            "true",
            "false",
            "1",
            "0",
            ""
          ]
        },
        {
          "type": "integer",
          "enum": [
            0,
            1
          ]
        },
        {
          "type": "null"
        }
      ]
    },
    "includeLeft": {
      "oneOf": [
        {
          "type": "boolean"
        },
        {
          "type": "string",
          "enum": [
            "true",
            "false",
            "1",
            "0",
            ""
          ]
        },
        {
          "type": "integer",
          "enum": [
            0,
            1
          ]
        },
        {
          "type": "null"
        }
      ]
    }
  }
}