Bitrix API

WhatsApp

Table of Contents

Methods

canUse()  : bool
Can use WhatsApp.
getDefaultFormEditUrl()  : string|null
Get URL of form editor.
getDefaultFormId()  : int|null
Get URL of form editor.
getHelpId()  : string
Get help ID.
getMessages()  : array<string|int, mixed>
Get array of phrases for editor.
getSetupLink()  : string
Get Link to set up WhatsApp.
isSetupCompleted()  : bool
Check was whatsapp configured.
sendEvent()  : void
Send WhatsApp event.

Methods

canUse()

Can use WhatsApp.

public static canUse() : bool
Return values
bool

getDefaultFormEditUrl()

Get URL of form editor.

public static getDefaultFormEditUrl() : string|null
Return values
string|null

getDefaultFormId()

Get URL of form editor.

public static getDefaultFormId() : int|null
Return values
int|null

getHelpId()

Get help ID.

public static getHelpId() : string
Return values
string

getMessages()

Get array of phrases for editor.

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

Get Link to set up WhatsApp.

public static getSetupLink() : string
Return values
string

isSetupCompleted()

Check was whatsapp configured.

public static isSetupCompleted() : bool
Return values
bool

sendEvent()

Send WhatsApp event.

public static sendEvent(array<string|int, mixed> $eventParameters) : void
Parameters
$eventParameters : array<string|int, mixed>

Event parameters.


        
On this page

Search results