1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
ChatFieldsUpdate.php
См. документацию.
1
<?php
2
3
namespace
Bitrix\Im\V2\Pull\Event;
4
5
use Bitrix\Im\V2\Chat;
6
use Bitrix\Im\V2\Common\ContextCustomer;
7
use Bitrix\Im\V2\Pull\EventType;
8
9
class
ChatFieldsUpdate
extends
BaseChatEvent
10
{
11
use ContextCustomer;
12
use DialogIdFiller;
13
14
protected
array
$updateFields
= [];
15
16
public
function
__construct
(
Chat
$chat
,
array
$updateFields
)
17
{
18
parent::__construct(
$chat
);
19
$this->updateFields =
$updateFields
;
20
}
21
22
protected
function
getType
():
EventType
23
{
24
return
EventType::ChatFieldsUpdate;
25
}
26
27
protected
function
getBasePullParamsInternal
():
array
28
{
29
$this->updateFields[
'chatId'
] = $this->chat->getId();
30
$this->updateFields[
'dialogId'
] = $this->
getBaseDialogId
();
31
32
return
$this->updateFields
;
33
}
34
}
Bitrix\Im\V2\Pull\Event\BaseChatEvent
Определения
BaseChatEvent.php:9
Bitrix\Im\V2\Pull\Event\BaseChatEvent\getBaseDialogId
getBaseDialogId()
Определения
BaseChatEvent.php:28
Bitrix\Im\V2\Pull\Event\BaseChatEvent\$chat
Chat $chat
Определения
BaseChatEvent.php:10
Bitrix\Im\V2\Pull\Event\ChatFieldsUpdate
Определения
ChatFieldsUpdate.php:10
Bitrix\Im\V2\Pull\Event\ChatFieldsUpdate\getBasePullParamsInternal
getBasePullParamsInternal()
Определения
ChatFieldsUpdate.php:27
Bitrix\Im\V2\Pull\Event\ChatFieldsUpdate\$updateFields
array $updateFields
Определения
ChatFieldsUpdate.php:14
Bitrix\Im\V2\Pull\Event\ChatFieldsUpdate\getType
getType()
Определения
ChatFieldsUpdate.php:22
Bitrix\Im\V2\Pull\Event\ChatFieldsUpdate\__construct
__construct(Chat $chat, array $updateFields)
Определения
ChatFieldsUpdate.php:16
array
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения
file_new.php:804
Bitrix\Im\V2\Chat
Bitrix\Im\V2\Pull\EventType
EventType
Определения
EventType.php:6
bitrix
modules
im
lib
V2
Pull
Event
ChatFieldsUpdate.php
Создано системой
1.14.0