\Threema\MsgApiReceiver

Summary

Methods
Properties
Constants
__construct()
setToThreemaId()
setToPhoneNo()
setToEmail()
getParams()
No public properties found
TYPE_ID
TYPE_PHONE
TYPE_EMAIL
No protected methods found
No protected properties found
N/A
setValue()
$type
$value
N/A

Constants

TYPE_ID

TYPE_ID

TYPE_PHONE

TYPE_PHONE

TYPE_EMAIL

TYPE_EMAIL

Properties

$type

$type : string

Type

string

$value

$value : string

Type

string

Methods

__construct()

__construct(string  $value, string  $type = self::TYPE_ID) 

Parameters

string $value
string $type

setToThreemaId()

setToThreemaId(string  $threemaId) : $this

Parameters

string $threemaId

Returns

$this

setToPhoneNo()

setToPhoneNo(string  $phoneNo) : $this

Parameters

string $phoneNo

Returns

$this

setToEmail()

setToEmail(string  $emailAddress) : $this

Parameters

string $emailAddress

Returns

$this

getParams()

getParams() : array

Throws

\InvalidArgumentException

Returns

array

setValue()

setValue(string  $value, string  $type) : $this

Parameters

string $value
string $type

Returns

$this