You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**to** | **String** | The phone number (recipient) that the message was sent to(in E.164 format). | [optional]
8
-
**from** | **String** | The phone number (sender) that the message was sent from (in E.164 format). | [optional]
9
-
**body** | **String** | Text body of the message that was sent | [optional]
10
-
**receivedTimestamp** | **String** | The date and time when the message was recieved by recipient. | [optional]
11
-
**moreMessages** | **Integer** | Indicates if there are more messages that can be polled from the server. 0=No more messages available. Anything else indicates there are more messages on the server. | [optional]
12
-
**messageId** | **String** | Optional message ID of the SMS you sent. Use this ID to view the message status or get responses. | [optional]
7
+
**status** | **String** | message status | [optional]
8
+
**destinationAddress** | **String** | The phone number (recipient) that the message was sent to(in E.164 format). | [optional]
9
+
**senderAddress** | **String** | The phone number (sender) that the message was sent from (in E.164 format). | [optional]
10
+
**message** | **String** | Text of the message that was sent | [optional]
11
+
**messageId** | **String** | Message Id | [optional]
12
+
**sentTimestamp** | **String** | The date and time when the message was sent by recipient. | [optional]
String messageid ="messageid_example"; // String | Unique identifier of a message - it is the value returned from a previous POST call to https://api.telstra.com/v2/messages/mms
39
39
try {
40
-
OutboundPollResponse result = apiInstance.getMMSStatus(messageid);
40
+
List<OutboundPollResponse> result = apiInstance.getMMSStatus(messageid);
41
41
System.out.println(result);
42
42
} catch (ApiException e) {
43
43
System.err.println("Exception when calling MessagingApi#getMMSStatus");
@@ -53,7 +53,7 @@ Name | Type | Description | Notes
String messageId ="messageId_example"; // String | Unique identifier of a message - it is the value returned from a previous POST call to https://api.telstra.com/v2/messages/sms
92
92
try {
93
-
OutboundPollResponse result = apiInstance.getSMSStatus(messageId);
93
+
List<OutboundPollResponse> result = apiInstance.getSMSStatus(messageId);
94
94
System.out.println(result);
95
95
} catch (ApiException e) {
96
96
System.err.println("Exception when calling MessagingApi#getSMSStatus");
@@ -106,7 +106,7 @@ Name | Type | Description | Notes
SendMmsRequest body =newSendMmsRequest(); // SendMmsRequest | A JSON or XML payload containing the recipient's phone number and MMS message.The recipient number should be in the format '04xxxxxxxx' where x is a digit
194
194
try {
195
-
Object result = apiInstance.sendMMS(body);
195
+
MessageSentResponse result = apiInstance.sendMMS(body);
196
196
System.out.println(result);
197
197
} catch (ApiException e) {
198
198
System.err.println("Exception when calling MessagingApi#sendMMS");
@@ -208,7 +208,7 @@ Name | Type | Description | Notes
0 commit comments