ChatService
Table of Contents
Methods
-
__construct()
: mixed
-
getEventChatId()
: Result
-
sendMessage()
: Result
__construct()
public
__construct(int $userId) : mixed
Parameters
-
$userId
: int
-
getEventChatId()
public
getEventChatId(int $eventId) : Result
Parameters
-
$eventId
: int
-
-
throws
-
ArgumentException
-
throws
-
LoaderException
-
throws
-
ObjectPropertyException
-
throws
-
SystemException
sendMessage()
public
sendMessage(string $dialogId, string $message) : Result
Parameters
-
$dialogId
: string
-
-
$message
: string
-
-
throws
-
LoaderException