Class SMSRequest
Assembly: Zenoph.Notify.dll
Syntax
[ComVisible(true)]
[Guid("7735CD4B-87EE-4035-BD4D-B1B983DFB021")]
public class SMSRequest : MessageRequest, IComposer, IMessageComposer, ISchedule, ISMSComposer
Constructors
SMSRequest()
Declaration
SMSRequest(AuthProfile)
Declaration
public SMSRequest(AuthProfile ap)
Parameters
Fields
_messageTypes
Declaration
protected static List<Dictionary<string, object>> _messageTypes
Field Value
Methods
addDestination(string)
Declaration
[ComVisible(true)]
public override NumberAddInfo addDestination(string phoneNumber)
Parameters
Type |
Name |
Description |
string |
phoneNumber |
|
Returns
Overrides
addDestination(string, bool)
Adds a phone number to the message destinations list.
Declaration
[ComVisible(false)]
public override NumberAddInfo addDestination(string phoneNumber, bool throwEx)
Parameters
Type |
Name |
Description |
string |
phoneNumber |
The phone number to be added to the message destinations list
|
bool |
throwEx |
Exception Control Specifier (ECS) that indicates whether Exception should be
thrown or not when phoneNumber is invalid or not permitted
|
Returns
Overrides
getMessageCount(string, SMSType)
Declaration
[ComVisible(false)]
public static int getMessageCount(string msg, SMSType type)
Parameters
Returns
getMessageId(string)
Declaration
public string getMessageId(string phoneNumber)
Parameters
Type |
Name |
Description |
string |
phoneNumber |
|
Returns
getMessageVariables(string)
Declaration
[ComVisible(false)]
public static string[] getMessageVariables(string msg)
Parameters
Type |
Name |
Description |
string |
msg |
|
Returns
getMessageVariables(string, bool)
Declaration
[ComVisible(false)]
public static string[] getMessageVariables(string msg, bool trim)
Parameters
Returns
getMessageVariablesCount(string)
Declaration
[ComVisible(false)]
public static int getMessageVariablesCount(string text)
Parameters
Type |
Name |
Description |
string |
text |
|
Returns
getSMSTypes()
Declaration
[ComVisible(false)]
public static List<SMSType> getSMSTypes()
Returns
getUserDefaultTextMessageType()
Declaration
public SMSType getUserDefaultTextMessageType()
Returns
isAlphaNumbericSender(string)
Declaration
[ComVisible(false)]
public static bool isAlphaNumbericSender(string sender)
Parameters
Type |
Name |
Description |
string |
sender |
|
Returns
isAlphaNumbericSenderEx(string)
Declaration
[ComVisible(true)]
public bool isAlphaNumbericSenderEx(string sender)
Parameters
Type |
Name |
Description |
string |
sender |
|
Returns
setMessage(string)
Declaration
[ComVisible(true)]
public override void setMessage(string message)
Parameters
Type |
Name |
Description |
string |
message |
|
Overrides
submit()
Declaration
[ComVisible(true)]
public override APIResponse submit()
Returns
Overrides
submitComposer(SMSComposer, object, string, Delegate, Delegate)
Declaration
[ComVisible(false)]
public static APIResponse submitComposer(SMSComposer sc, object arg1, string arg2 = null, Delegate spea = null, Delegate scea = null)
Parameters
Returns
submitComposer(SMSComposer, string)
Declaration
[ComVisible(false)]
public static APIResponse submitComposer(SMSComposer sc, string apiKey)
Parameters
Returns
submitComposer(SMSComposer, string, Delegate, Delegate)
Declaration
[ComVisible(false)]
public static object submitComposer(SMSComposer sc, string apiKey, Delegate spea, Delegate scea)
Parameters
Returns
submitComposer(SMSComposer, string, string)
Declaration
[ComVisible(false)]
public static APIResponse submitComposer(SMSComposer sc, string plogin, string ppass)
Parameters
Returns
submitComposer(SMSComposer, string, string, Delegate, Delegate)
Declaration
[ComVisible(false)]
public static object submitComposer(SMSComposer sc, string plogin, string ppass, Delegate spea, Delegate scea)
Parameters
Returns
submitComposer(SMSComposer, AuthProfile)
Declaration
[ComVisible(false)]
public static APIResponse submitComposer(SMSComposer sc, AuthProfile ap)
Parameters
Returns
submitComposer(SMSComposer, AuthProfile, Delegate, Delegate)
Declaration
[ComVisible(false)]
public static object submitComposer(SMSComposer sc, AuthProfile ap, Delegate spea, Delegate scea)
Parameters
Returns
submitComposerEx(SMSComposer, Delegate, Delegate)
Declaration
[ComVisible(true)]
public APIResponse submitComposerEx(SMSComposer sc, Delegate spea = null, Delegate scea = null)
Parameters
Returns
validate()
Declaration
protected void validate()
Explicit Interface Implementations
addDestination(string, bool, string[])
Declaration
[ComVisible(false)]
NumberAddInfo addDestination(string phoneNumber, bool throwEx, string[] values)
Parameters
Returns
addDestination(string, bool, string[], string)
Declaration
[ComVisible(false)]
NumberAddInfo addDestination(string phoneNumber, bool throwEx, string[] values, string messageId)
Parameters
Returns
addDestination(string, string[])
Declaration
[ComVisible(false)]
NumberAddInfo addDestination(string phoneNumber, string[] values)
Parameters
Returns
addDestination(string, string[], string)
Declaration
[ComVisible(false)]
NumberAddInfo addDestination(string phoneNumber, string[] values, string messageId)
Parameters
Returns
addPersonalisedDestination(string, bool, string[])
Declaration
[ComVisible(false)]
NumberAddInfo addPersonalisedDestination(string phoneNumber, bool throwEx, string[] values)
Parameters
Returns
addPersonalisedDestination(string, bool, string[], string)
Declaration
[ComVisible(false)]
NumberAddInfo addPersonalisedDestination(string phoneNumber, bool throwEx, string[] values, string messageId)
Parameters
Returns
addPersonalisedDestination(string, string[], string)
Declaration
[ComVisible(false)]
NumberAddInfo addPersonalisedDestination(string phoneNumber, string[] values, string messageId)
Parameters
Returns
addPersonalisedDestinationEx(string, bool, object, string)
Declaration
[ComVisible(true)]
NumberAddInfo addPersonalisedDestinationEx(string phoneNumber, bool throwEx = true, object values = null, string messageId = null)
Parameters
Returns
addPersonalisedDestintion(string, string[])
Declaration
[ComVisible(false)]
NumberAddInfo addPersonalisedDestintion(string phoneNumber, string[] values)
Parameters
Returns
getDefaultSMSType()
Declaration
[ComVisible(true)]
SMSType getDefaultSMSType()
Returns
getDestinationWriteMode(string, string[])
Declaration
[ComVisible(false)]
DestinationMode getDestinationWriteMode(string phoneNumber, string[] values)
Parameters
Returns
getMessageCount()
Declaration
[ComVisible(false)]
int getMessageCount()
Returns
getMessageCountEx(string, SMSType)
Declaration
[ComVisible(true)]
int getMessageCountEx(string message, SMSType type)
Parameters
Returns
getMessageId(string, string[])
Declaration
string getMessageId(string phoneNumber, string[] values)
Parameters
Returns
getMessageVariables()
Declaration
[ComVisible(false)]
string[] getMessageVariables()
Returns
getMessageVariables(bool)
Declaration
[ComVisible(false)]
string[] getMessageVariables(bool trim)
Parameters
Type |
Name |
Description |
bool |
trim |
|
Returns
getMessageVariablesCount()
Declaration
[ComVisible(true)]
int getMessageVariablesCount()
Returns
getMessageVariablesCountEx(string)
Declaration
[ComVisible(true)]
int getMessageVariablesCountEx(string message)
Parameters
Type |
Name |
Description |
string |
message |
|
Returns
getMessageVariablesEx(bool, string)
Declaration
[ComVisible(true)]
string[] getMessageVariablesEx(bool trim = true, string msg = null)
Parameters
Returns
getPersonalisedDestinationMessageId(string, string[])
Declaration
[ComVisible(true)]
string getPersonalisedDestinationMessageId(string phoneNumber, string[] values)
Parameters
Returns
getPersonalisedDestinationWriteMode(string, string[])
Declaration
[ComVisible(true)]
DestinationMode getPersonalisedDestinationWriteMode(string phoneNumber, string[] values)
Parameters
Returns
getPersonalisedMessagePreview(string)
Declaration
[ComVisible(false)]
string[] getPersonalisedMessagePreview(string phoneNumber)
Parameters
Type |
Name |
Description |
string |
phoneNumber |
|
Returns
getPersonalisedMessagePreview(string, string[])
Declaration
[ComVisible(false)]
string getPersonalisedMessagePreview(string phoneNumber, string[] values)
Parameters
Returns
getPersonalisedMessagePreview(string, PersonalisedValues)
Declaration
[ComVisible(false)]
string getPersonalisedMessagePreview(string phoneNumber, PersonalisedValues pv)
Parameters
Returns
getPersonalisedMessagePreviewEx(string, object)
Declaration
[ComVisible(false)]
PersonalisedMessagesList getPersonalisedMessagePreviewEx(string phoneNumber, object values = null)
Parameters
Returns
getPersonalisedValues(string)
Declaration
[ComVisible(true)]
PersonalisedValuesList getPersonalisedValues(string phoneNumber)
Parameters
Type |
Name |
Description |
string |
phoneNumber |
|
Returns
getPersonalisedValuesById(string)
Declaration
[ComVisible(true)]
string[] getPersonalisedValuesById(string messageId)
Parameters
Type |
Name |
Description |
string |
messageId |
|
Returns
getRegisteredSenderIds()
Declaration
[ComVisible(true)]
string[] getRegisteredSenderIds()
Returns
getSMSType()
Declaration
[ComVisible(true)]
SMSType getSMSType()
Returns
isPersonalised()
Declaration
Returns
personalisedValuesExists(string, string[])
Declaration
[ComVisible(true)]
bool personalisedValuesExists(string phoneNumber, string[] values)
Parameters
Returns
removeDestination(string, string[])
Declaration
[ComVisible(false)]
bool removeDestination(string phoneNumber, string[] values)
Parameters
Returns
removePersonalisedDestination(string, string[])
Declaration
[ComVisible(true)]
bool removePersonalisedDestination(string phoneNumber, string[] values)
Parameters
Returns
removePersonalisedValues(string, string[])
Declaration
[ComVisible(true)]
bool removePersonalisedValues(string phoneNumber, string[] values)
Parameters
Returns
setMessage(string, bool)
Declaration
[ComVisible(false)]
void setMessage(string message, bool isPsnd)
Parameters
setMessageCategory(MessageCategory)
Declaration
[ComVisible(true)]
void setMessageCategory(MessageCategory category)
Parameters
setMessageEx(string, object)
Declaration
[ComVisible(true)]
void setMessageEx(string msg, object psnd = null)
Parameters
setSMSType(string)
Declaration
[ComVisible(false)]
void setSMSType(string type)
Parameters
Type |
Name |
Description |
string |
type |
|
setSMSType(SMSType)
Declaration
[ComVisible(false)]
void setSMSType(SMSType type)
Parameters
setSMSTypeEx(object)
Declaration
[ComVisible(true)]
void setSMSTypeEx(object type)
Parameters
Type |
Name |
Description |
object |
type |
|
updatePersonalisedValues(string, string[])
Declaration
[ComVisible(false)]
bool updatePersonalisedValues(string phonenum, string[] newValues)
Parameters
Returns
updatePersonalisedValues(string, string[], string)
Declaration
[ComVisible(false)]
bool updatePersonalisedValues(string phoneNumber, string[] values, string messageId)
Parameters
Returns
updatePersonalisedValues(string, string[], string[])
Declaration
[ComVisible(false)]
bool updatePersonalisedValues(string phonenum, string[] newValues, string[] prevValues)
Parameters
Returns
updatePersonalisedValuesById(string, string[])
Declaration
[ComVisible(true)]
bool updatePersonalisedValuesById(string messageId, string[] newValues)
Parameters
Returns
updatePersonalisedValuesEx(string, string[], object)
Declaration
[ComVisible(true)]
bool updatePersonalisedValuesEx(string phonenum, string[] newValues, object prevValues = null)
Parameters
Returns
updatePersonalisedValuesExWithId(string, string[], string)
Declaration
[ComVisible(true)]
bool updatePersonalisedValuesExWithId(string phoneNumber, string[] newValues, string newMessageId)
Parameters
Returns
Implements