1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
BaseChatEvent.php
См. документацию.
1<?php
2
4
7
8abstract class BaseChatEvent extends BaseEvent
9{
10 protected Chat $chat;
11
12 public function __construct(Chat $chat)
13 {
14 parent::__construct();
15 $this->chat = $chat;
16 }
17
18 public function getTarget(): Chat
19 {
20 return $this->chat;
21 }
22
23 protected function getRecipients(): array
24 {
25 return $this->chat->getRelations()->filterActive()->getUserIds();
26 }
27
28 protected function getBaseDialogId(): string
29 {
30 return 'chat' . $this->chat->getId();
31 }
32}
__construct(Chat $chat)
Определения BaseChatEvent.php:12
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804