1C-Bitrix
25.700.0
Загрузка...
Поиск...
Не найдено
ConvertGroupToCollabMessageRich.php
См. документацию.
1
<?php
2
3
declare(strict_types=1);
4
5
namespace
Bitrix\Socialnetwork\Collab\Integration\IM\Message;
6
7
use Bitrix\Main\Loader;
8
use Bitrix\Main\Localization\Loc;
9
10
class
ConvertGroupToCollabMessageRich
implements
ActionMessageInterface
11
{
12
use
MessageTrait
;
13
14
private
const
COMPONENT_ID =
'ConvertToCollabMessage'
;
15
16
protected
int
$collabId
;
17
protected
int
$senderId
;
18
19
public
function
__construct
(
int
$collabId
,
int
$senderId
)
20
{
21
$this->collabId =
$collabId
;
22
$this->senderId =
$senderId
;
23
}
24
25
public
function
send
(
array
$recipientIds = [],
array
$parameters = []): int
26
{
27
if
(!Loader::includeModule(
'im'
))
28
{
29
return
0;
30
}
31
32
$message
= (string)Loc::getMessage(
'SOCIALNETWORK_COLLAB_CONVERT_GROUP_TO_COLLAB_RICH'
);
33
34
return
$this->
sendMessage
(
$message
, $this->senderId, $this->collabId, self::COMPONENT_ID);
35
}
36
}
Bitrix\Socialnetwork\Collab\Integration\IM\Message\ConvertGroupToCollabMessageRich
Определения
ConvertGroupToCollabMessageRich.php:11
Bitrix\Socialnetwork\Collab\Integration\IM\Message\ConvertGroupToCollabMessageRich\$senderId
int $senderId
Определения
ConvertGroupToCollabMessageRich.php:17
Bitrix\Socialnetwork\Collab\Integration\IM\Message\ConvertGroupToCollabMessageRich\__construct
__construct(int $collabId, int $senderId)
Определения
ConvertGroupToCollabMessageRich.php:19
Bitrix\Socialnetwork\Collab\Integration\IM\Message\ConvertGroupToCollabMessageRich\send
send(array $recipientIds=[], array $parameters=[])
Определения
ConvertGroupToCollabMessageRich.php:25
Bitrix\Socialnetwork\Collab\Integration\IM\Message\ConvertGroupToCollabMessageRich\$collabId
int $collabId
Определения
ConvertGroupToCollabMessageRich.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\Socialnetwork\Collab\Integration\IM\Message\ActionMessageInterface
Определения
ActionMessageInterface.php:6
Bitrix\Socialnetwork\Collab\Integration\IM\Message\sendMessage
sendMessage(string $message, int $senderId, int $groupId, ?string $componentId=null)
Определения
MessageTrait.php:120
Bitrix\Socialnetwork\Collab\Integration\IM\Message\MessageTrait
trait MessageTrait
Определения
MessageTrait.php:19
$message
$message
Определения
payment.php:8
bitrix
modules
socialnetwork
lib
Collab
Integration
IM
Message
ConvertGroupToCollabMessageRich.php
Создано системой
1.14.0