SMSReceived
SMSReceived PHP Methods
addPoints(\WMT\SQL\Contact\Contact $contact) v5
Add score points to a contact(or visitor)
PARAMETERS:
$contact = object
RETURN VALUE:
void callOptOut(string $phoneFrom) v5
call optout
PARAMETERS:
$phoneFrom = string, Sender phone number
RETURN VALUE:
string = XML response for call optout forwardCall(\WMT\SQL\SMSMarketing\SMSAccount $smsAccount, string $phone) v5
Gets XML content for call forwarding
PARAMETERS:
$smsAccount = object
$phone = string, Forward phone number
RETURN VALUE:
string = XML content for call forwarding getHangUpXML() v5
Gets hangup XML content
PARAMETERS:
NONE
RETURN VALUE:
string = hangup XML content getPhoneLocal(string $phoneFrom, \WMT\SQL\SMSMarketing\SMSAccount $smsAccount) v5
Gets sender phone number including the international code
PARAMETERS:
$phoneFrom = string, Sender phone number
$smsAccount = object
RETURN VALUE:
string = Sender phone number including the international code getSelectExtensionXML(\WMT\SQL\SMSMarketing\SMSAccount $smsAccount, string $actionFile, string $gather = "Gather") v5
Gets XML content to select SMS extension
PARAMETERS:
$smsAccount = object
$actionFile = string, SMS Action file
$gather = string, Gather type
RETURN VALUE:
string = XML content to select SMS extension getSMSAccount(string $phoneTo, string $accountSID = "") v5
Gets sms account object
PARAMETERS:
$phoneTo = string, Recepient phone number
$accountSID = string, SMS account key
RETURN VALUE:
object = \WMT\SQL\SMSMarketing\SMSAccount playMessage(string $message) v5
Play mp3 message XML content
PARAMETERS:
$message = string, Message content
RETURN VALUE:
string = Play mp3 message XML content processExtension(\WMT\SQL\SMSMarketing\SMSAccount $smsAccount, string $phoneFrom) v5
Process sending SMS extensions
PARAMETERS:
$smsAccount = object
$phoneFrom = string, Sender phone number
RETURN VALUE:
void processKeywords(\WMT\SQL\SMSMarketing\SMSAccount $smsAccount, \WMT\SQL\Contact\Contact $contact, string $phoneFrom, string $message) v5
Process SMS message keywords
PARAMETERS:
$smsAccount = object
$contact = object
$phoneFrom = string, Sender phone number
$message = string, Message content
RETURN VALUE:
void processOfflineAction(string $phoneFrom) v5
Checks if a member can receive SMS as chat offlibe actions
PARAMETERS:
$phoneFrom = string, Sender phone number
RETURN VALUE:
bool = True if member can receive SMS as chat offline action, false otherwise respondExit(string $message) v5
Message response as XML (it will show the XML content as exit)
PARAMETERS:
$message = string, Message content
RETURN VALUE:
void sendCallSMSAR(\WMT\SQL\SMSMarketing\SMSAccount $smsAccount, string $phoneFrom) v5
Send SMS AR message
PARAMETERS:
$smsAccount = object
$phoneFrom = string, Sender phone number
RETURN VALUE:
void sendExtensionSMS(\WMT\SQL\SMSMarketing\SMSAccount $smsAccount, string $message, string $phoneFrom) v5
Gets send SMS extensions as XML
PARAMETERS:
$smsAccount = object
$message = string, Message content
$phoneFrom = string, Sender phone
RETURN VALUE:
string = XML content setHangUpAppend(string $hangUpAppend) v5
Sets hang up append settings
PARAMETERS:
$hangUpAppend = string, hang up append text
RETURN VALUE:
void setSayXML(string $say) v5
Sets SMS AR XML content
PARAMETERS:
$say = string, SMS AR XML content
RETURN VALUE:
void smsForward(\WMT\SQL\SMSMarketing\SMSAccount $smsAccount, \WMT\SQL\Contact\Contact $contact, string $phoneFrom, string $message, bool $doForward) v5
Forward SMS to another number
PARAMETERS:
$smsAccount = object
$contact = object
$phoneFrom = string, Sender phone number
$message = string, Message content
$doForward = bool, True to allow SMS forwarding, false otherwise
RETURN VALUE:
void smsOptOut(\WMT\SQL\SMSMarketing\SMSAccount $smsAccount, string $phoneFrom, string $message) v5
Optout using SMS message
PARAMETERS:
$smsAccount = object
$phoneFrom = string, Sender phone
$message = string, Message content
RETURN VALUE: startXML() v5
Start XML script
PARAMETERS:
NONE
RETURN VALUE:
void storeReply(\WMT\SQL\SMSMarketing\SMSAccount $smsAccount, \WMT\SQL\Contact\Contact $contact, string $phoneFrom, string $message) v5
Store SMS reply to member's inbox
PARAMETERS:
$smsAccount = object
$contact = object
$phoneFrom = string, Sender phone number
$message = string, Message content
RETURN VALUE:
void __construct(\WMT\Container $container) v5
Initialize SMS received utility object
PARAMETERS:
$container = object
RETURN VALUE:
voidSMSReceived PHP Variables
🔎︎ %l4610%