Chat

Изменить название, описание и историю группы

Changed on

Меняется то, что прислали. Название, описание и показ истории новым участникам меняет тот, кому беседа разрешает её вести. Личный диалог собственного имени не имеет: его название складывается из собеседников.

patch/api/v1/chat/conversations/{id}

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate

Path parameters

id, string uuid required

Headers

X-Tenant, string required

Slug выбранного кабинета; кабинет не является юрлицом

Request body

ChatRenameGroup required
title, string

Название группы. Пробелы по краям снимаются; пустое после этого название отклоняется.

description, string

Описание группы; пустая строка снимает его

new_member_history, boolean

Показывать прежнюю переписку новым участникам

settings, ChatGroupSettingsPatch

Response

Название, описание, показ истории и время правки

ChatRenameGroupResult required
conversation_id, string uuid required
title, string required
description, string
new_member_history, boolean
group_settings, ChatGroupSettings
updated_at, string date-time required

Changes

    • info

      added the new optional request property settings

    • info

      added the optional property group_settings to the response with the status

    • info

      added the new optional request property description

    4 more changes in this revision