Bitrix API

OpenLineManager

Table of Contents

Methods

closeDialog()  : Result|null
getChatTitle()  : string|null
getChatUnReadMessages()  : int
getLineConnectorType()  : string|null
getLineTitle()  : string|null
getOpenLineTitle()  : string|null
getSessionData()  : array<string|int, mixed>
getSessionMessages()  : mixed
isEnabled()  : mixed
isImOpenLinesValue()  : bool
prepareMultiFieldLinkAttributes()  : mixed

Methods

closeDialog()

public static closeDialog(string|null $userCode[, int|null $userId = null ]) : Result|null
Parameters
$userCode : string|null
$userId : int|null = null
Return values
Result|null

getChatTitle()

public static getChatTitle(string|null $code) : string|null
Parameters
$code : string|null
Return values
string|null

getChatUnReadMessages()

public static getChatUnReadMessages(string|null $userCode, int|null $userId) : int
Parameters
$userCode : string|null
$userId : int|null
Return values
int

getLineConnectorType()

public static getLineConnectorType(string|null $code) : string|null
Parameters
$code : string|null
Return values
string|null

getLineTitle()

public static getLineTitle(string|null $code) : string|null
Parameters
$code : string|null
Return values
string|null

getOpenLineTitle()

public static getOpenLineTitle(string $value) : string|null
Parameters
$value : string
Return values
string|null

getSessionData()

public static getSessionData(int|null $sessionId) : array<string|int, mixed>
Parameters
$sessionId : int|null
Return values
array<string|int, mixed>

getSessionMessages()

public static getSessionMessages(mixed $sessionID[, mixed $limit = 20 ]) : mixed
Parameters
$sessionID : mixed
$limit : mixed = 20

isImOpenLinesValue()

public static isImOpenLinesValue(string $value) : bool
Parameters
$value : string
Return values
bool

prepareMultiFieldLinkAttributes()

public static prepareMultiFieldLinkAttributes(mixed $typeName, mixed $valueTypeID, mixed $value) : mixed
Parameters
$typeName : mixed
$valueTypeID : mixed
$value : mixed

        
On this page

Search results