IMessageSendMessageWithService Method |
Sends an SMS message using a Twilio message service.
Namespace:
NetQuarry.Services
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax string SendMessageWithService(
string serviceSID,
string to,
string message,
string threadID,
bool sendAsMMS = true
)
Function SendMessageWithService (
serviceSID As String,
to As String,
message As String,
threadID As String,
Optional sendAsMMS As Boolean = true
) As String
Parameters
- serviceSID
- Type: SystemString
The message service SID - to
- Type: SystemString
The receiver phone number. - message
- Type: SystemString
The message. - threadID
- Type: SystemString
The conversation thread. - sendAsMMS (Optional)
- Type: SystemBoolean
Specifies whether to send as MMS vs. SMS.
Return Value
Type:
StringA unique identifier for the message.
See Also