$setting
$setting : \Threema\MsgApi\ConnectionSettings
Class Connection
$setting : \Threema\MsgApi\ConnectionSettings
$publicKeyStore : \Threema\MsgApi\PublicKeyStore
__construct(\Threema\MsgApi\ConnectionSettings $setting, \Threema\MsgApi\PublicKeyStore $publicKeyStore = null)
\Threema\MsgApi\ConnectionSettings | $setting | |
\Threema\MsgApi\PublicKeyStore | $publicKeyStore | stores the public keys locally to save network traffic |
sendSimple(\Threema\MsgApi\Receiver $receiver, $text) : \Threema\MsgApi\Commands\Results\SendSimpleResult
\Threema\MsgApi\Receiver | $receiver | |
$text |
sendE2E(string $threemaId, string $nonce, string $box) : \Threema\MsgApi\Commands\Results\SendE2EResult
string | $threemaId | |
string | $nonce | |
string | $box |
uploadFile( $encryptedFileData) : \Threema\MsgApi\Commands\Results\UploadFileResult
$encryptedFileData | (binary string) |
downloadFile( $blobId, callable $progress = null) : \Threema\MsgApi\Commands\Results\DownloadFileResult
$blobId | ||
callable | $progress |
keyLookupByPhoneNumber( $phoneNumber) : \Threema\MsgApi\Commands\Results\LookupIdResult
$phoneNumber |
keyLookupByEmail(string $email) : \Threema\MsgApi\Commands\Results\LookupIdResult
string |
keyCapability(string $threemaId) : \Threema\MsgApi\Commands\Results\CapabilityResult
string | $threemaId | valid threema id (8 Chars) |
fetchPublicKey( $threemaId) : \Threema\MsgApi\Commands\Results\FetchPublicKeyResult
$threemaId |
get(\Threema\MsgApi\Commands\CommandInterface $command, callable $progress = null) : \Threema\MsgApi\Commands\Results\Result
\Threema\MsgApi\Commands\CommandInterface | $command | |
callable | $progress |
post(\Threema\MsgApi\Commands\CommandInterface $command) : \Threema\MsgApi\Commands\Results\Result
\Threema\MsgApi\Commands\CommandInterface | $command |
postMultiPart(\Threema\MsgApi\Commands\MultiPartCommandInterface $command) : \Threema\MsgApi\Commands\Results\Result
\Threema\MsgApi\Commands\MultiPartCommandInterface | $command |