Bitrix API

Messageservice

Table of Contents

Methods

getChannelPhoneNumber()  : mixed
getWhatsappLink()  : string
getWhatsappOnClick()  : string
getWidgetLocalization()  : array<string|int, mixed>
getWidgetScript()  : string
isEnabled()  : bool
Checks if the "Edna.ru" connector is available.

Methods

getChannelPhoneNumber()

public static getChannelPhoneNumber(int $lineId) : mixed
Parameters
$lineId : int
Tags
see
Output::infoConnectorsLine
public static getWhatsappLink(int $lineId[, mixed $langId = LANGUAGE_ID ]) : string
Parameters
$lineId : int
$langId : mixed = LANGUAGE_ID
Return values
string

getWhatsappOnClick()

public static getWhatsappOnClick(string $url) : string
Parameters
$url : string
Return values
string

getWidgetLocalization()

public static getWidgetLocalization([mixed $langId = LANGUAGE_ID ]) : array<string|int, mixed>
Parameters
$langId : mixed = LANGUAGE_ID
Return values
array<string|int, mixed>

getWidgetScript()

public static getWidgetScript() : string
Return values
string

isEnabled()

Checks if the "Edna.ru" connector is available.

public static isEnabled() : bool
Return values
bool

        
On this page

Search results