Служебные инструменты · fileman

Файлы и структура сайта · чтение · Чтение · fileman_sticker_settings_get

fileman_site_fileman_m060_readЧтение

Действия модуля fileman.

Действия

В tools/call передайте имя инструмента, значение action и параметры действия во вложенном объекте arguments.

Получить настройки стикеров

fileman_sticker_settings_get

Действия модуля fileman.

Параметры не требуются. Передайте пустой объект {}.

Схема параметров JSON
{
  "type": "object",
  "properties": {},
  "required": [],
  "additionalProperties": false
}

Скачать исходное примечание

Предварительная проверка · Настройки стикеров на страницах сайта

fileman_sticker_settings_preview

Действия модуля fileman.

settings
объект · обязательный параметр
roles
массив · обязательный параметр
Схема параметров JSON
{
  "type": "object",
  "properties": {
    "settings": {
      "type": "object",
      "properties": {
        "hide_bottom": {
          "type": "boolean"
        },
        "use_hotkeys": {
          "type": "boolean"
        },
        "start_width": {
          "type": "integer",
          "minimum": 280,
          "maximum": 2000
        },
        "start_height": {
          "type": "integer",
          "minimum": 160,
          "maximum": 2000
        },
        "default_task_id": {
          "type": "integer",
          "minimum": 1,
          "maximum": 2147483647
        }
      },
      "required": [
        "hide_bottom",
        "use_hotkeys",
        "start_width",
        "start_height",
        "default_task_id"
      ],
      "additionalProperties": false
    },
    "roles": {
      "type": "array",
      "maxItems": 128,
      "items": {
        "type": "object",
        "properties": {
          "group_id": {
            "type": "integer",
            "minimum": 2,
            "maximum": 2147483647
          },
          "task_id": {
            "type": "integer",
            "minimum": 1,
            "maximum": 2147483647
          }
        },
        "required": [
          "group_id",
          "task_id"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "settings",
    "roles"
  ],
  "additionalProperties": false
}

Скачать исходное примечание