Bitrix API

IncomingMessage extends AbstractMessage

Protobuf message : IncomingMessage

Table of Contents

Methods

addReceivers()  : mixed
Add a new element to 'receivers'
clear()  : mixed
{@inheritdoc}
descriptor()  : mixed
{@inheritdoc}
extensions()  : mixed
{@inheritdoc}
fromArray()  : mixed
{@inheritdoc}
fromStream()  : mixed
{@inheritdoc}
getBody()  : string
Get 'body' value
getExpiry()  : int
Get 'expiry' value
getReceiversList()  : Collection<string|int, Receiver>
Get 'receivers' value
getSender()  : Sender
Get 'sender' value
getType()  : string
Get 'type' value
hasBody()  : bool
Check if 'body' has a value
hasExpiry()  : bool
Check if 'expiry' has a value
hasReceiversList()  : bool
Check if 'receivers' has a value
hasSender()  : bool
Check if 'sender' has a value
hasType()  : bool
Check if 'type' has a value
merge()  : mixed
{@inheritdoc}
readFrom()  : mixed
{@inheritdoc}
serializedSize()  : mixed
{@inheritdoc}
setBody()  : mixed
Set 'body' value
setExpiry()  : mixed
Set 'expiry' value
setReceiversList()  : mixed
Set 'receivers' value
setSender()  : mixed
Set 'sender' value
setType()  : mixed
Set 'type' value
toStream()  : mixed
{@inheritdoc}
unknownFieldSet()  : mixed
{@inheritdoc}
writeTo()  : mixed
{@inheritdoc}

Methods

fromArray()

{@inheritdoc}

public static fromArray(array<string|int, mixed> $values) : mixed
Parameters
$values : array<string|int, mixed>

fromStream()

{@inheritdoc}

public static fromStream(mixed $stream[, Configuration $configuration = null ]) : mixed
Parameters
$stream : mixed
$configuration : Configuration = null

getBody()

Get 'body' value

public getBody() : string
Return values
string

getExpiry()

Get 'expiry' value

public getExpiry() : int
Return values
int

getReceiversList()

Get 'receivers' value

public getReceiversList() : Collection<string|int, Receiver>
Return values
Collection<string|int, Receiver>

getType()

Get 'type' value

public getType() : string
Return values
string

hasBody()

Check if 'body' has a value

public hasBody() : bool
Return values
bool

hasExpiry()

Check if 'expiry' has a value

public hasExpiry() : bool
Return values
bool

hasReceiversList()

Check if 'receivers' has a value

public hasReceiversList() : bool
Return values
bool

hasSender()

Check if 'sender' has a value

public hasSender() : bool
Return values
bool

hasType()

Check if 'type' has a value

public hasType() : bool
Return values
bool

merge()

{@inheritdoc}

public merge(Message $message) : mixed
Parameters
$message : Message

readFrom()

{@inheritdoc}

public readFrom(ReadContext $context) : mixed
Parameters
$context : ReadContext

serializedSize()

{@inheritdoc}

public serializedSize(ComputeSizeContext $context) : mixed
Parameters
$context : ComputeSizeContext

setBody()

Set 'body' value

public setBody([string $value = null ]) : mixed
Parameters
$value : string = null

setExpiry()

Set 'expiry' value

public setExpiry([int $value = null ]) : mixed
Parameters
$value : int = null

setReceiversList()

Set 'receivers' value

public setReceiversList([Collection<string|int, Receiver$value = null ]) : mixed
Parameters
$value : Collection<string|int, Receiver> = null

setType()

Set 'type' value

public setType([string $value = null ]) : mixed
Parameters
$value : string = null

toStream()

{@inheritdoc}

public toStream([Configuration $configuration = null ]) : mixed
Parameters
$configuration : Configuration = null

writeTo()

{@inheritdoc}

public writeTo(WriteContext $context) : mixed
Parameters
$context : WriteContext

        
On this page

Search results