Bitrix-D7
23.9
Загрузка...
Поиск...
Не найдено
OpenLineLiveChat.php
1
<?php
2
3
namespace
Bitrix\Im\V2\Chat
;
4
5
use
Bitrix\Im\V2\Chat
;
6
7
class
OpenLineLiveChat
extends
EntityChat
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
}
Bitrix\Im\Chat
Definition
chat.php:19
Bitrix\Im\User
Definition
user.php:10
Bitrix\Im\V2\Chat\EntityChat
Definition
EntityChat.php:13
Bitrix\Im\V2\Chat\OpenLineLiveChat
Definition
OpenLineLiveChat.php:8
Bitrix\Im\V2\Chat\OpenLineLiveChat\getDefaultEntityType
getDefaultEntityType()
Definition
OpenLineLiveChat.php:32
Bitrix\Im\V2\Chat\OpenLineLiveChat\sendMessageAuthorChange
sendMessageAuthorChange(\Bitrix\Im\V2\Entity\User\User $author)
Definition
OpenLineLiveChat.php:27
Bitrix\Im\V2\Chat\OpenLineLiveChat\setExtranet
setExtranet(?bool $extranet)
Definition
OpenLineLiveChat.php:42
Bitrix\Im\V2\Chat\OpenLineLiveChat\getExtranet
getExtranet()
Definition
OpenLineLiveChat.php:47
Bitrix\Im\V2\Chat\OpenLineLiveChat\addIndex
addIndex()
Definition
OpenLineLiveChat.php:57
Bitrix\Im\V2\Chat\OpenLineLiveChat\setEntityMap
setEntityMap(array $entityMap)
Definition
OpenLineLiveChat.php:37
Bitrix\Im\V2\Chat\OpenLineLiveChat\$entityMap
$entityMap
Definition
OpenLineLiveChat.php:9
Bitrix\Im\V2\Chat\OpenLineLiveChat\updateIndex
updateIndex()
Definition
OpenLineLiveChat.php:52
Bitrix\Im\V2\Sync\Entity
Definition
Entity.php:6
Bitrix\Im\V2\Chat
Definition
ChannelChat.php:3
Bitrix
modules
im
lib
V2
Chat
OpenLineLiveChat.php
Создано системой
1.10.0