Chat
Снять закрепление сообщения
Changed onИдемпотентно. Снятое закрепление отвечает 200 с changed=false и без объекта pin.
delete/api/v1/chat/conversations/{id}/messages/{messageId}/pin
Request
- Base URLhttps://erp.akeda.ru
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://erp.akeda.ru/oauth2/authorizeToken URLhttps://erp.akeda.ru/oauth2/tokenScopesakeda:delegate
Path parameters
id, string uuid required
messageId, string uuid required
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Response
Состояние закрепления
Chat Change Pin Result required
pin, Chat Message Pin
changed, boolean required
Example response
{
"pin": {
"message": {
"attachments": [
{
"content_url": "/api/v1/chat/attachments/00000000-0000-0000-0000-000000000001/content"
}
]
}
}
}Changes
- info
added the optional property
pin/message/attachments/items/image_heightto the response with the status - info
added the optional property
pin/message/attachments/items/image_widthto the response with the status
- info
- info
endpoint added
- info