Wildberries API TypeScript SDK / <internal> / Event
Interface: Event
Defined in: types/communications.types.ts:202
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
<a id="chatid"></a> chatID? | string | ID чата | types/communications.types.ts:204 |
<a id="eventid"></a> eventID? | string | ID события | types/communications.types.ts:206 |
<a id="eventtype"></a> eventType? | "message" | - | types/communications.types.ts:207 |
<a id="isnewchat"></a> isNewChat? | boolean | Признак нового чата: - false — чат не новый - true — чат новый | types/communications.types.ts:209 |
<a id="message"></a> message? | { attachments?: EventAttachments; text?: string; } | Данные сообщения | types/communications.types.ts:211 |
message.attachments? | EventAttachments | - | types/communications.types.ts:212 |
message.text? | string | Текст сообщения | types/communications.types.ts:214 |
<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:217 |
<a id="addtimestamp"></a> addTimestamp? | number | Время появления события на сервере. Формат Unix timestamp | types/communications.types.ts:219 |
<a id="addtime"></a> addTime? | string | Время появления события на сервере в UTC | types/communications.types.ts:221 |
<a id="replysign"></a> replySign? | string | Подпись чата. Доступна только при "isNewChat": true. Требуется при отправке сообщения | types/communications.types.ts:223 |
<a id="sender"></a> sender? | Sender | - | types/communications.types.ts:224 |
<a id="clientid"></a> clientID? | string | ID покупателя | types/communications.types.ts:226 |
<a id="clientname"></a> clientName? | string | Имя покупателя | types/communications.types.ts:228 |