Bitrix API

Channel implements JsonSerializable, Arrayable

Table of Contents

Interfaces

JsonSerializable
Arrayable

Constants

TYPE_B24  = 'b24'
TYPE_CHAT  = 'im'
TYPE_EMAIL  = 'email'
TYPE_SMS  = 'sms'
TYPE_WHATSAPP  = 'whatsapp'

Methods

createFromArray()  : self
getIdentifier()  : string
getType()  : string
jsonSerialize()  : array<string|int, mixed>
toArray()  : array<string|int, mixed>

Constants

TYPE_B24

public mixed TYPE_B24 = 'b24'

TYPE_CHAT

public mixed TYPE_CHAT = 'im'

TYPE_EMAIL

public mixed TYPE_EMAIL = 'email'

TYPE_SMS

public mixed TYPE_SMS = 'sms'

TYPE_WHATSAPP

public mixed TYPE_WHATSAPP = 'whatsapp'

Methods

createFromArray()

public static createFromArray(array<string|int, mixed> $data) : self
Parameters
$data : array<string|int, mixed>
Return values
self

getIdentifier()

public getIdentifier() : string
Return values
string

getType()

public getType() : string
Return values
string

jsonSerialize()

public jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed>

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results