1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
OpenLineLiveChat.php
См. документацию.
1<?php
2
3namespace Bitrix\Im\V2\Chat;
4
5use Bitrix\Im\V2\Chat;
6use Bitrix\Im\V2\Result;
7
9{
10 protected $entityMap = [
11 'entityId' => [
12 'connectorId',
13 'lineId',
14 ],
15 'entityData1' => [
16 'readed',
17 'readedId',
18 'readedTime',
19 'sessionId',
20 'showForm',
21 'welcomeFormNeeded',
22 'welcomeFormSent'
23 ],
24 'entityData2' => [],
25 'entityData3' => [],
26 ];
27
28 protected function validateAuthorId(int $authorId): Result
29 {
30 if ($authorId === 0)
31 {
32 return new Result();
33 }
34
35 return parent::validateAuthorId($authorId);
36 }
37
38 protected function sendMessageAuthorChange(\Bitrix\Im\V2\Entity\User\User $author): void
39 {
40 return;
41 }
42
43 protected function getDefaultEntityType(): string
44 {
45 return self::ENTITY_TYPE_LIVECHAT;
46 }
47
49 {
50 return $this;
51 }
52
53 public function setExtranet(?bool $extranet): \Bitrix\Im\V2\Chat
54 {
55 return $this;
56 }
57
58 public function getExtranet(): ?bool
59 {
60 return false;
61 }
62
63 protected function updateIndex(): \Bitrix\Im\V2\Chat
64 {
65 return $this;
66 }
67
68 protected function addIndex(): Chat
69 {
70 return $this;
71 }
72}
sendMessageAuthorChange(\Bitrix\Im\V2\Entity\User\User $author)
Определения OpenLineLiveChat.php:38
setExtranet(?bool $extranet)
Определения OpenLineLiveChat.php:53
validateAuthorId(int $authorId)
Определения OpenLineLiveChat.php:28
setEntityMap(array $entityMap)
Определения OpenLineLiveChat.php:48
Определения result.php:20
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
Определения ActionUuid.php:3
Определения ufield.php:9