ApplicationMessageArgs Constructor |
Full constructor.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public ApplicationMessageArgs(
string sid,
string accountSid,
string from,
string to,
string body,
string threadID,
string messageStatus,
int numMedia = 0,
string messageServiceSID = null
)
Public Sub New (
sid As String,
accountSid As String,
from As String,
to As String,
body As String,
threadID As String,
messageStatus As String,
Optional numMedia As Integer = 0,
Optional messageServiceSID As String = Nothing
)
Parameters
- sid
- Type: SystemString
The SID (message ID) provided by Twilio. - accountSid
- Type: SystemString
The Account SID who sent the message. - from
- Type: SystemString
The From number (in E.164 format). - to
- Type: SystemString
The To number (in E.164 format). - body
- Type: SystemString
The Body of the message. - threadID
- Type: SystemString
The ThreadID (typically related_id). This is ONLY provided during the status event. - messageStatus
- Type: SystemString
The message status from twilio. Note that when a message is received, this value will always be 'Received' - numMedia (Optional)
- Type: SystemInt32
The number of media items associated with the message - messageServiceSID (Optional)
- Type: SystemString
The SID of the messaging service.
See Also