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
getWhatsappLink()
public
static getWhatsappLink(int $lineId[, mixed $langId = LANGUAGE_ID ]) : string
Parameters
- $lineId : int
- $langId : mixed = LANGUAGE_ID
Return values
stringgetWhatsappOnClick()
public
static getWhatsappOnClick(string $url) : string
Parameters
- $url : string
Return values
stringgetWidgetLocalization()
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
stringisEnabled()
Checks if the "Edna.ru" connector is available.
public
static isEnabled() : bool