Метод | Описание | |
---|---|---|
__construct ( string $appName, OCP\IRequest $request, $userId, |
SmsController constructor. | |
checkNewMessages ( $lastDate ) : OCP\AppFramework\Http\JSONResponse | ||
deleteConversation ( $contact ) : OCP\AppFramework\Http\JSONResponse | ||
deleteMessage ( $messageId, $phoneNumber ) : OCP\AppFramework\Http\JSONResponse | ||
getConversation ( $phoneNumber, integer $lastDate ) : OCP\AppFramework\Http\JSONResponse | ||
index ( ) | ||
retrieveAllPeers ( ) |
public __construct ( string $appName, OCP\IRequest $request, $userId, |
||
$appName | string | |
$request | OCP\IRequest | |
$userId | ||
$mapper | ||
$cmapper | ||
$cfgMapper | ||
$contactsManager | OCP\Contacts\IManager | |
$urlGenerator | OCP\IURLGenerator |
public checkNewMessages ( $lastDate ) : OCP\AppFramework\Http\JSONResponse | ||
$lastDate | ||
Результат | OCP\AppFramework\Http\JSONResponse |
public deleteConversation ( $contact ) : OCP\AppFramework\Http\JSONResponse | ||
$contact | ||
Результат | OCP\AppFramework\Http\JSONResponse |
public deleteMessage ( $messageId, $phoneNumber ) : OCP\AppFramework\Http\JSONResponse | ||
$messageId | ||
$phoneNumber | ||
Результат | OCP\AppFramework\Http\JSONResponse |
public getConversation ( $phoneNumber, integer $lastDate ) : OCP\AppFramework\Http\JSONResponse | ||
$phoneNumber | ||
$lastDate | integer | |
Результат | OCP\AppFramework\Http\JSONResponse |