1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
chat.php
См. документацию.
1<?php
2
3namespace Bitrix\Socialnetwork\Controller;
4
5use Bitrix\Im;
6use Bitrix\Main\Loader;
7
8class Chat extends Base
9{
10 public function createAction(array $userIds): int
11 {
12 if (!Loader::includeModule('im'))
13 {
14 return 0;
15 }
16
18 'TYPE' => Im\V2\Chat::IM_TYPE_CHAT,
19 'SKIP_ADD_MESSAGE' => 'Y',
20 'AUTHOR_ID' => $this->userId,
21 'USERS' => $userIds,
22 ]);
23
24 return $result->getData()['RESULT']['CHAT_ID'];
25 }
26}
static getInstance()
Определения ChatFactory.php:37
createAction(array $userIds)
Определения chat.php:10
</td ></tr ></table ></td ></tr >< tr >< td class="bx-popup-label bx-width30"><?=GetMessage("PAGE_NEW_TAGS")?> array( $site)
Определения file_new.php:804
$result
Определения get_property_values.php:14
Определения ActionUuid.php:3