\Threema\MsgApi\MessagesFileMessage

Abstract base class of messages that can be sent with end-to-end encryption via Threema.

Summary

Methods
Properties
Constants
getTypeCode()
__construct()
getBlobId()
getEncryptionKey()
getFilename()
getMimeType()
getSize()
getThumbnailBlobId()
__toString()
No public properties found
TYPE_CODE
No protected methods found
No protected properties found
N/A
No private methods found
$blobId
$thumbnailBlobId
$encryptionKey
$mimeType
$filename
$size
N/A

Constants

TYPE_CODE

TYPE_CODE

Properties

$blobId

$blobId : string

Type

string

$thumbnailBlobId

$thumbnailBlobId : string

Type

string

$encryptionKey

$encryptionKey : string

Type

string

$mimeType

$mimeType : string

Type

string

$filename

$filename : string

Type

string

$size

$size : integer

Type

integer

Methods

getTypeCode()

getTypeCode() : integer

Get the message type code of this message.

Returns

integer —

message type code

__construct()

__construct(string  $blobId, string  $thumbnailBlobId, string  $encryptionKey, string  $mimeType, string  $filename, integer  $size) 

Parameters

string $blobId
string $thumbnailBlobId
string $encryptionKey
string $mimeType
string $filename
integer $size

getBlobId()

getBlobId() : string

Returns

string

getEncryptionKey()

getEncryptionKey() : string

Returns

string

getFilename()

getFilename() : string

Returns

string

getMimeType()

getMimeType() : string

Returns

string

getSize()

getSize() : integer

Returns

integer

getThumbnailBlobId()

getThumbnailBlobId() : string

Returns

string

__toString()

__toString() : string

Returns

string