Method | Description | |
---|---|---|
__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 | ||
return | OCP\AppFramework\Http\JSONResponse |
public deleteConversation ( $contact ) : OCP\AppFramework\Http\JSONResponse | ||
$contact | ||
return | OCP\AppFramework\Http\JSONResponse |
public deleteMessage ( $messageId, $phoneNumber ) : OCP\AppFramework\Http\JSONResponse | ||
$messageId | ||
$phoneNumber | ||
return | OCP\AppFramework\Http\JSONResponse |
public getConversation ( $phoneNumber, integer $lastDate ) : OCP\AppFramework\Http\JSONResponse | ||
$phoneNumber | ||
$lastDate | integer | |
return | OCP\AppFramework\Http\JSONResponse |