Bitrix API

Notifications

Table of Contents

Methods

addToLine()  : Result
addUserConsentAgreementTerms()  : bool
canUse()  : bool
enableVirtualWhatsapp()  : mixed
Temporary method to enable and connect Virtual WhatsApp by request.
getAgreementTerms()  : array<string|int, mixed>
getVirtualWhatsappLink()  : mixed
getVirtualWhatsappOnClick()  : string
getWidgetDisclaimerUrl()  : mixed
getWidgetLocalization()  : mixed
getWidgetScript()  : string
isEnabled()  : bool
isUserConsentAgreementTerms()  : bool

Methods

addToLine()

public static addToLine(int $lineId, string $scenarioCode) : Result
Parameters
$lineId : int
$scenarioCode : string
Return values
Result

addUserConsentAgreementTerms()

public addUserConsentAgreementTerms() : bool
Return values
bool

enableVirtualWhatsapp()

Temporary method to enable and connect Virtual WhatsApp by request.

public static enableVirtualWhatsapp() : mixed

Should be called by request from controller. Delete after 2022-01-01

getAgreementTerms()

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

getVirtualWhatsappOnClick()

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

getWidgetDisclaimerUrl()

public static getWidgetDisclaimerUrl([mixed $langId = LANGUAGE_ID ]) : mixed
Parameters
$langId : mixed = LANGUAGE_ID

getWidgetLocalization()

public static getWidgetLocalization([mixed $langId = LANGUAGE_ID ]) : mixed
Parameters
$langId : mixed = LANGUAGE_ID

getWidgetScript()

public static getWidgetScript() : string
Return values
string

isUserConsentAgreementTerms()

public isUserConsentAgreementTerms() : bool
Return values
bool

        
On this page

Search results