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
COMPONENT_MESSAGE_ID
public
mixed
COMPONENT_MESSAGE_ID
= 'CheckInMessage'
__construct()
public
__construct(int $userId) : mixed
Parameters
-
$userId
: int
-
deleteMessage()
public
deleteMessage(int $messageId) : void
Parameters
-
$messageId
: int
-
-
throws
-
LoaderException
getDialogInfo()
public
getDialogInfo(string|null $dialogId) : array<string|int, mixed>|array<string|int, null>
Parameters
-
$dialogId
: string|null
-
-
throws
-
LoaderException
Return values
array<string|int, mixed>|array<string|int, null>
sendShiftCancel()
public
sendShiftCancel(ShiftDto $shiftDto) : Result
Parameters
-
$shiftDto
: ShiftDto
-
-
throws
-
LoaderException
sendShiftStart()
public
sendShiftStart(ShiftDto $shiftDto) : Result
Parameters
-
$shiftDto
: ShiftDto
-
-
throws
-
LoaderException
-
throws
-
Exception
sendUserStatisticsLink()
public
sendUserStatisticsLink(string $dialogId, string $link) : Result
Parameters
-
$dialogId
: string
-
-
$link
: string
-
-
throws
-
LoaderException