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
boolgetDefaultFormEditUrl()
Get URL of form editor.
public
static getDefaultFormEditUrl() : string|null
Return values
string|nullgetDefaultFormId()
Get URL of form editor.
public
static getDefaultFormId() : int|null
Return values
int|nullgetHelpId()
Get help ID.
public
static getHelpId() : string
Return values
stringgetMessages()
Get array of phrases for editor.
public
static getMessages() : array<string|int, mixed>
Return values
array<string|int, mixed>getSetupLink()
Get Link to set up WhatsApp.
public
static getSetupLink() : string
Return values
stringisSetupCompleted()
Check was whatsapp configured.
public
static isSetupCompleted() : bool
Return values
boolsendEvent()
Send WhatsApp event.
public
static sendEvent(array<string|int, mixed> $eventParameters) : void
Parameters
- $eventParameters : array<string|int, mixed>
-
Event parameters.