Wildberries API TypeScript SDK / <internal> / Event
Interface: Event
Defined in: types/communications.types.ts:434
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="chatid"></a> chatID? | string | ID чата | types/communications.types.ts:436 |
<a id="eventid"></a> eventID? | string | ID события | types/communications.types.ts:438 |
<a id="eventtype"></a> eventType? | "message" | - | types/communications.types.ts:439 |
<a id="isnewchat"></a> isNewChat? | boolean | Признак нового чата: - false — чат не новый - true — чат новый | types/communications.types.ts:441 |
<a id="message"></a> message? | { attachments?: EventAttachments; text?: string; } | Данные сообщения | types/communications.types.ts:443 |
message.attachments? | EventAttachments | - | types/communications.types.ts:444 |
message.text? | string | Текст сообщения | types/communications.types.ts:446 |
<a id="source"></a> source? | string | Источник отправки сообщения: - seller-portal — портал продавцов - seller-public-api — API Чата с покупателями - rusite — портал покупателей - global — портал global.wildberries.ru - ios — мобильная операционная система от Apple - android — операционная система Android от Google | types/communications.types.ts:449 |
<a id="addtimestamp"></a> addTimestamp? | number | Время появления события на сервере. Формат Unix timestamp | types/communications.types.ts:451 |
<a id="addtime"></a> addTime? | string | Время появления события на сервере в UTC | types/communications.types.ts:453 |
<a id="replysign"></a> replySign? | string | Подпись чата. Доступна только при "isNewChat": true. Требуется при отправке сообщения | types/communications.types.ts:455 |
<a id="sender"></a> sender? | Sender | - | types/communications.types.ts:456 |
<a id="clientid"></a> clientID? | string | ID покупателя Deprecated This field will be removed on February 2. See https://dev.wildberries.ru/release-notes?id=466 | types/communications.types.ts:461 |
<a id="clientname"></a> clientName? | string | Имя покупателя | types/communications.types.ts:463 |