Chat
Получить закреплённые сообщения чата
Changed onВозвращаются только действующие закрепления и только из видимой участнику части истории.
get/api/v1/chat/conversations/{id}/pins
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
Headers
X-Tenant, string required
Slug выбранного кабинета; кабинет не является юрлицом
Response
Действующие закрепления
Chat Message Pin Page required
items, Chat Message Pin[] required
Example response
{
"items": [
{
"message": {
"attachments": [
{
"content_url": "/api/v1/chat/attachments/00000000-0000-0000-0000-000000000001/content"
}
]
}
}
]
}Changes
- info
added the optional property
items/items/message/attachments/items/image_heightto the response with the status - info
added the optional property
items/items/message/attachments/items/image_widthto the response with the status
- info
- info
endpoint added
- info