\Threema\MsgApi\MessagesTextMessage

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

Summary

Methods
Properties
Constants
getTypeCode()
__construct()
getText()
__toString()
No public properties found
TYPE_CODE
No protected methods found
No protected properties found
N/A
No private methods found
$text
N/A

Constants

TYPE_CODE

TYPE_CODE

Properties

$text

$text : string

Type

string

Methods

getTypeCode()

getTypeCode() : integer

Get the message type code of this message.

Returns

integer —

message type code

__construct()

__construct(string  $text) 

Parameters

string $text

getText()

getText() : string

Returns

string —

text

__toString()

__toString() : string

Returns

string