Bitrix API

MessageService

Table of Contents

Constants

COMPONENT_MESSAGE_ID  = 'CheckInMessage'

Methods

__construct()  : mixed
deleteMessage()  : void
getDialogInfo()  : array<string|int, mixed>|array<string|int, null>
sendShiftCancel()  : Result
sendShiftStart()  : Result
sendUserStatisticsLink()  : Result

Constants

COMPONENT_MESSAGE_ID

public mixed COMPONENT_MESSAGE_ID = 'CheckInMessage'

Methods

__construct()

public __construct(int $userId) : mixed
Parameters
$userId : int

deleteMessage()

public deleteMessage(int $messageId) : void
Parameters
$messageId : int
Tags
throws
LoaderException

getDialogInfo()

public getDialogInfo(string|null $dialogId) : array<string|int, mixed>|array<string|int, null>
Parameters
$dialogId : string|null
Tags
throws
LoaderException
Return values
array<string|int, mixed>|array<string|int, null>

sendShiftCancel()

public sendShiftCancel(ShiftDto $shiftDto) : Result
Parameters
$shiftDto : ShiftDto
Tags
throws
LoaderException
Return values
Result

sendShiftStart()

public sendShiftStart(ShiftDto $shiftDto) : Result
Parameters
$shiftDto : ShiftDto
Tags
throws
LoaderException
throws
Exception
Return values
Result
public sendUserStatisticsLink(string $dialogId, string $link) : Result
Parameters
$dialogId : string
$link : string
Tags
throws
LoaderException
Return values
Result

        
On this page

Search results