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