5
0
mirror of https://github.com/cwinfo/envayasms.git synced 2025-01-09 20:05:38 +00:00

add incoming call notifications to server api reference

This commit is contained in:
Jesse Young 2012-03-15 19:38:05 -07:00
parent 816245f0ac
commit 2023299f84
2 changed files with 8 additions and 6 deletions

View File

@ -233,7 +233,7 @@ The following parameters are sent in all POST requests from EnvayaSMS:
<dt>"incoming":</dt>
<dd>
Forward an incoming SMS or MMS message to the server
Forward an incoming message to the server (SMS, MMS, or call notification)
</dd>
<dt>"send_status":</dt>
@ -300,15 +300,16 @@ Additional parameters sent in POST requests with <code>action=incoming</code>:
The phone number of the message sender.
</dd>
<dt>"message_type" ::= "sms" | "mms"</dt>
<dt>"message_type" ::= "sms" | "mms" | "call"</dt>
<dd>
Whether this message is an SMS or MMS.
Whether this message is a SMS, MMS, or a notification of an incoming call.
</dd>
<dt>"message" ::= &lt;text&gt;</dt>
<dd>
The message body of the SMS, or the content of the <code>text/plain</code> part of the MMS.
For multipart SMS messages, this field contains all parts concatenated and may be longer than 160 characters.
(This field is empty for incoming call notifications.)
</dd>
<dt>"timestamp" ::= &lt;long integer&gt;</dt>

View File

@ -273,7 +273,7 @@ The following parameters are sent in all POST requests from EnvayaSMS:
<dt>"incoming":</dt>
<dd>
Forward an incoming SMS or MMS message to the server
Forward an incoming message to the server (SMS, MMS, or call notification)
</dd>
<dt>"send_status":</dt>
@ -340,15 +340,16 @@ Additional parameters sent in POST requests with <code>action=incoming</code>:
The phone number of the message sender.
</dd>
<dt>"message_type" ::= "sms" | "mms"</dt>
<dt>"message_type" ::= "sms" | "mms" | "call"</dt>
<dd>
Whether this message is an SMS or MMS.
Whether this message is a SMS, MMS, or a notification of an incoming call.
</dd>
<dt>"message" ::= &lt;text&gt;</dt>
<dd>
The message body of the SMS, or the content of the <code>text/plain</code> part of the MMS.
For multipart SMS messages, this field contains all parts concatenated and may be longer than 160 characters.
(This field is empty for incoming call notifications.)
</dd>
<dt>"timestamp" ::= &lt;long integer&gt;</dt>