Bitrix-D7 23.9
 
Загрузка...
Поиск...
Не найдено
OpenLineLiveChat.php
1<?php
2
3namespace Bitrix\Im\V2\Chat;
4
6
8{
9 protected $entityMap = [
10 'entityId' => [
11 'connectorId',
12 'lineId',
13 ],
14 'entityData1' => [
15 'readed',
16 'readedId',
17 'readedTime',
18 'sessionId',
19 'showForm',
20 'welcomeFormNeeded',
21 'welcomeFormSent'
22 ],
23 'entityData2' => [],
24 'entityData3' => [],
25 ];
26
27 protected function sendMessageAuthorChange(\Bitrix\Im\V2\Entity\User\User $author): void
28 {
29 return;
30 }
31
32 protected function getDefaultEntityType(): string
33 {
34 return self::ENTITY_TYPE_LIVECHAT;
35 }
36
37 public function setEntityMap(array $entityMap): EntityChat
38 {
39 return $this;
40 }
41
42 public function setExtranet(?bool $extranet): \Bitrix\Im\V2\Chat
43 {
44 return $this;
45 }
46
47 public function getExtranet(): ?bool
48 {
49 return false;
50 }
51
52 protected function updateIndex(): \Bitrix\Im\V2\Chat
53 {
54 return $this;
55 }
56
57 protected function addIndex(): Chat
58 {
59 return $this;
60 }
61}
sendMessageAuthorChange(\Bitrix\Im\V2\Entity\User\User $author)