Bitrix API

SaleSupport24 extends Notifier

Class Notifier service.

Table of Contents

Constants

CHAT_ENTITY_TYPE  = 'SUPPORT24_NOTIFIER'
COMMAND_FORWARD_MESSAGE  = 'forwardMessage'

Methods

changeChannelOwner()  : void
Sets up the new chanel's owner.
onReceiveCommand()  : bool|Result

Constants

CHAT_ENTITY_TYPE

public mixed CHAT_ENTITY_TYPE = 'SUPPORT24_NOTIFIER'

COMMAND_FORWARD_MESSAGE

public mixed COMMAND_FORWARD_MESSAGE = 'forwardMessage'

Methods

changeChannelOwner()

Sets up the new chanel's owner.

public static changeChannelOwner(int $chatId, int $ownerId, int $previousOwnerId) : void
Parameters
$chatId : int
$ownerId : int
$previousOwnerId : int

onReceiveCommand()

public static onReceiveCommand(string $command, array<string|int, mixed> $params) : bool|Result
Parameters
$command : string
$params : array<string|int, mixed>
Tags
see
Controller::sendToService
Return values
bool|Result

        
On this page

Search results