Bitrix API

Careteam

Table of Contents

Constants

BOT_PROPERTIES  = ['NAME', 'WORK_POSITION', 'GENDER', 'COLOR']
COMMAND_FORWARD_MESSAGE  = 'forwardMessage'

Methods

onReceiveCommand()  : bool|Result
updateBotProperties()  : bool

Constants

BOT_PROPERTIES

public mixed BOT_PROPERTIES = ['NAME', 'WORK_POSITION', 'GENDER', 'COLOR']

COMMAND_FORWARD_MESSAGE

public mixed COMMAND_FORWARD_MESSAGE = 'forwardMessage'

Methods

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

updateBotProperties()

public static updateBotProperties([array<string|int, mixed> $botProperties = [] ]) : bool
Parameters
$botProperties : array<string|int, mixed> = []
Return values
bool

        
On this page

Search results