Skip to content

Commit 2d3cd9a

Browse files
committed
Update Readme
1 parent a3e54b2 commit 2d3cd9a

File tree

8 files changed

+18
-18
lines changed

8 files changed

+18
-18
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ please see here:
291291

292292
### Assign Virtual Number
293293

294-
When a recipient receives your message, you can choose whether they'll see a privateNumber,
294+
When a recipient receives your message, you can choose whether they'll see a
295295
Virtual Number or senderName (paid plans only) in the from field.
296296
If you want to use a Virtual Number, use this function to assign one.
297297
For more information, please see here:
@@ -616,7 +616,7 @@ The function `messages.send` can be used to send a message.
616616
It takes an object with following properties as argument:
617617

618618
- `to`: The destination address, expected to be a phone number of the form `+614XXXXXXXX` or `04XXXXXXXX`.
619-
- `from`: This will be either "privateNumber", one of your Virtual Numbers or your senderName.
619+
- `from`: This will be either one of your Virtual Numbers or your senderName.
620620
- `messageContent` (Either one of messageContent or multimedia is required): The content of the message.
621621
- `multimedia` (Either one of messageContent or multimedia is required): MMS multimedia content.
622622
- `retryTimeout` (optional): How many minutes you asked the server to keep trying to send the message.
@@ -637,7 +637,7 @@ It returns an object with the following properties:
637637
- `messageId`: Use this UUID with our other endpoints to fetch, update or delete the message.
638638
- `status`: The status will be either queued, sent, delivered or expired.
639639
- `to`: The recipient's mobile number(s).
640-
- `from`: This will be either "privateNumber", one of your Virtual Numbers or your senderName.
640+
- `from`: This will be either one of your Virtual Numbers or your senderName.
641641
- `messageContent`: The content of the message.
642642
- `multimedia`: The multimedia content of the message (MMS only).
643643
- `retryTimeout`: How many minutes you asked the server to keep trying to send the message.
@@ -739,7 +739,7 @@ It returns an object with the following properties:
739739
- `sentTimestamp`: The time the message was sent from the server.
740740
- `receivedTimestamp`: The time the message was received by the recipient's device.
741741
- `to`: The recipient's mobile number(s).
742-
- `from`: This will be either "privateNumber", one of your Virtual Numbers or your senderName.
742+
- `from`: This will be either one of your Virtual Numbers or your senderName.
743743
- `messageContent`: The content of the message.
744744
- `multimedia`: The multimedia content of the message (MMS only).
745745
- `direction`: Direction of the message (outgoing or incoming).
@@ -854,7 +854,7 @@ It takes an object with following properties as argument:
854854

855855
- `messageId`: Use this UUID with our other endpoints to fetch, update or delete the message.
856856
- `to`: The destination address, expected to be a phone number of the form `+614XXXXXXXX` or `04XXXXXXXX`.
857-
- `from`: This will be either "privateNumber", one of your Virtual Numbers or your senderName.
857+
- `from`: This will be either one of your Virtual Numbers or your senderName.
858858
- `messageContent` (Either one of messageContent or multimedia is required): The content of the message.
859859
- `multimedia` (Either one of messageContent or multimedia is required): MMS multimedia content.
860860
- `retryTimeout` (optional): How many minutes you asked the server to keep trying to send the message.
@@ -882,7 +882,7 @@ It returns an object with the following properties:
882882
- `messageId`: Use this UUID with our other endpoints to fetch, update or delete the message.
883883
- `status`: The status will be either queued, sent, delivered or expired.
884884
- `to`: The recipient's mobile number(s).
885-
- `from`: This will be either "privateNumber", one of your Virtual Numbers or your senderName.
885+
- `from`: This will be either one of your Virtual Numbers or your senderName.
886886
- `messageContent`: The content of the message.
887887
- `multimedia`: The multimedia content of the message (MMS only).
888888
- `retryTimeout`: How many minutes you asked the server to keep trying to send the message.

src/main/java/com/telstra/MessageGet.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,10 +277,10 @@ public MessageGet from(String from) {
277277
}
278278

279279
/**
280-
* This will be either \"privateNumber\", one of your Virtual Numbers or your senderName.
280+
* This will be either one of your Virtual Numbers or your senderName.
281281
* @return from
282282
**/
283-
@Schema(description = "This will be either \"privateNumber\", one of your Virtual Numbers or your senderName.")
283+
@Schema(description = "This will be either one of your Virtual Numbers or your senderName.")
284284
public String getFrom() {
285285
return from;
286286
}

src/main/java/com/telstra/MessageSent.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,10 @@ public MessageSent from(String from) {
167167
}
168168

169169
/**
170-
* This will be either \"privateNumber\", one of your Virtual Numbers or your senderName.
170+
* This will be either one of your Virtual Numbers or your senderName.
171171
* @return from
172172
**/
173-
@Schema(description = "This will be either \"privateNumber\", one of your Virtual Numbers or your senderName.")
173+
@Schema(description = "This will be either one of your Virtual Numbers or your senderName.")
174174
public String getFrom() {
175175
return from;
176176
}

src/main/java/com/telstra/MessageUpdate.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -170,10 +170,10 @@ public MessageUpdate from(String from) {
170170
}
171171

172172
/**
173-
* This will be either \"privateNumber\", one of your Virtual Numbers or your senderName.
173+
* This will be either one of your Virtual Numbers or your senderName.
174174
* @return from
175175
**/
176-
@Schema(description = "This will be either \"privateNumber\", one of your Virtual Numbers or your senderName.")
176+
@Schema(description = "This will be either one of your Virtual Numbers or your senderName.")
177177
public String getFrom() {
178178
return from;
179179
}

src/main/java/com/telstra/SendMessagesRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ public SendMessagesRequest from(String from) {
9191
}
9292

9393
/**
94-
* When the recipient receives your message, you can choose whether they'll see a privateNumber, virtualNumber or senderName (paid plans only) in the **from** field. * privateNumber: Use this string to have the message appear on the recipient's device as from \"anonymous\", \"private\" or similar. * 04xxxxxxxx: Use one of the Virtual Numbers associated with your account. You'll also be able to receive SMS replies to this number. * senderName: Choose a unique alphanumeric string of up to 11 characters (paid feature).
94+
* When the recipient receives your message, you can choose whether they'll see a virtualNumber or senderName (paid plans only) in the **from** field. * 04xxxxxxxx: Use one of the Virtual Numbers associated with your account. You'll also be able to receive SMS replies to this number. * senderName: Choose a unique alphanumeric string of up to 11 characters (paid feature).
9595
* @return from
9696
**/
9797
public String getFrom() {

src/main/java/com/telstra/UpdateMessageByIdRequest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public UpdateMessageByIdRequest from(String from) {
9494
}
9595

9696
/**
97-
* When the recipient receives your message, you can choose whether they'll see a privateNumber, virtualNumber or senderName (paid plans only) in the **from** field. * privateNumber: Use this string to have the message appear on the recipient's device as from \"anonymous\", \"private\" or similar. * 04xxxxxxxx: Use one of the Virtual Numbers associated with your account. You'll also be able to receive SMS replies to this number. * senderName: Choose a unique alphanumeric string of up to 11 characters (paid feature).
97+
* When the recipient receives your message, you can choose whether they'll see a virtualNumber or senderName (paid plans only) in the **from** field. * 04xxxxxxxx: Use one of the Virtual Numbers associated with your account. You'll also be able to receive SMS replies to this number. * senderName: Choose a unique alphanumeric string of up to 11 characters (paid feature).
9898
* @return from
9999
**/
100100

src/main/java/com/telstra/messaging/VirtualNumbersApi.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ private com.squareup.okhttp.Call assignNumberValidateBeforeCall(Object body, Str
136136

137137
/**
138138
* assign a virtual number
139-
* When a recipient receives your message, you can choose whether they'll see a privateNumber, Virtual Number or senderName (paid plans only) in the **from** field. If you want to use a Virtual Number, use this endpoint to assign one. Free Trial users can assign one Virtual Number, and those on a paid plan can assign up to 100. Virtual Numbers that have not sent a message in 30 days (Free Trial) or sent/received a message in 18 months (paid plans) will be automatically unassigned from your account. You can check the **lastUse** date of your Virtual Number at any time using GET /virtual-numbers/{virtual-number}. Note that Virtual Numbers used in v2 of the Messaging API cannot be used to send messages in v3. Please assign a new Virtual Number instead.
139+
* When a recipient receives your message, you can choose whether they'll see a Virtual Number or senderName (paid plans only) in the **from** field. If you want to use a Virtual Number, use this endpoint to assign one. Free Trial users can assign one Virtual Number, and those on a paid plan can assign up to 100. Virtual Numbers that have not sent a message in 30 days (Free Trial) or sent/received a message in 18 months (paid plans) will be automatically unassigned from your account. You can check the **lastUse** date of your Virtual Number at any time using GET /virtual-numbers/{virtual-number}. Note that Virtual Numbers used in v2 of the Messaging API cannot be used to send messages in v3. Please assign a new Virtual Number instead.
140140
* @param assignNumberRequest (required)
141141
* @return VirtualNumber
142142
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
@@ -154,7 +154,7 @@ public VirtualNumber assignNumber(AssignNumberRequest assignNumberRequest) throw
154154

155155
/**
156156
* assign a virtual number
157-
* When a recipient receives your message, you can choose whether they'll see a privateNumber, Virtual Number or senderName (paid plans only) in the **from** field. If you want to use a Virtual Number, use this endpoint to assign one. Free Trial users can assign one Virtual Number, and those on a paid plan can assign up to 100. Virtual Numbers that have not sent a message in 30 days (Free Trial) or sent/received a message in 18 months (paid plans) will be automatically unassigned from your account. You can check the **lastUse** date of your Virtual Number at any time using GET /virtual-numbers/{virtual-number}. Note that Virtual Numbers used in v2 of the Messaging API cannot be used to send messages in v3. Please assign a new Virtual Number instead.
157+
* When a recipient receives your message, you can choose whether they'll see a Virtual Number or senderName (paid plans only) in the **from** field. If you want to use a Virtual Number, use this endpoint to assign one. Free Trial users can assign one Virtual Number, and those on a paid plan can assign up to 100. Virtual Numbers that have not sent a message in 30 days (Free Trial) or sent/received a message in 18 months (paid plans) will be automatically unassigned from your account. You can check the **lastUse** date of your Virtual Number at any time using GET /virtual-numbers/{virtual-number}. Note that Virtual Numbers used in v2 of the Messaging API cannot be used to send messages in v3. Please assign a new Virtual Number instead.
158158
* @param body (required)
159159
* @param contentLanguage (required)
160160
* @param accept (required)
@@ -172,7 +172,7 @@ public ApiResponse<VirtualNumber> assignNumberWithHttpInfo(Object body, String c
172172

173173
/**
174174
* assign a virtual number (asynchronously)
175-
* When a recipient receives your message, you can choose whether they&#x27;ll see a privateNumber, Virtual Number or senderName (paid plans only) in the **from** field. If you want to use a Virtual Number, use this endpoint to assign one. Free Trial users can assign one Virtual Number, and those on a paid plan can assign up to 100. Virtual Numbers that have not sent a message in 30 days (Free Trial) or sent/received a message in 18 months (paid plans) will be automatically unassigned from your account. You can check the **lastUse** date of your Virtual Number at any time using GET /virtual-numbers/{virtual-number}. Note that Virtual Numbers used in v2 of the Messaging API cannot be used to send messages in v3. Please assign a new Virtual Number instead.
175+
* When a recipient receives your message, you can choose whether they&#x27;ll see a Virtual Number or senderName (paid plans only) in the **from** field. If you want to use a Virtual Number, use this endpoint to assign one. Free Trial users can assign one Virtual Number, and those on a paid plan can assign up to 100. Virtual Numbers that have not sent a message in 30 days (Free Trial) or sent/received a message in 18 months (paid plans) will be automatically unassigned from your account. You can check the **lastUse** date of your Virtual Number at any time using GET /virtual-numbers/{virtual-number}. Note that Virtual Numbers used in v2 of the Messaging API cannot be used to send messages in v3. Please assign a new Virtual Number instead.
176176
* @param body (required)
177177
* @param contentLanguage (required)
178178
* @param authorization (required)

src/test/java/com/telstra/messaging/VirtualNumbersApiTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public void setUp() {
4646

4747
/**
4848
* assign a virtual number
49-
* When a recipient receives your message, you can choose whether they&#x27;ll see a privateNumber, Virtual Number or senderName (paid plans only) in the **from** field. If you want to use a Virtual Number, use this endpoint to assign one. Free Trial users can assign one Virtual Number, and those on a paid plan can assign up to 100. Virtual Numbers that have not sent a message in 30 days (Free Trial) or sent/received a message in 18 months (paid plans) will be automatically unassigned from your account. You can check the **lastUse** date of your Virtual Number at any time using GET /virtual-numbers/{virtual-number}. Note that Virtual Numbers used in v2 of the Messaging API cannot be used to send messages in v3. Please assign a new Virtual Number instead.
49+
* When a recipient receives your message, you can choose whether they&#x27;ll see a Virtual Number or senderName (paid plans only) in the **from** field. If you want to use a Virtual Number, use this endpoint to assign one. Free Trial users can assign one Virtual Number, and those on a paid plan can assign up to 100. Virtual Numbers that have not sent a message in 30 days (Free Trial) or sent/received a message in 18 months (paid plans) will be automatically unassigned from your account. You can check the **lastUse** date of your Virtual Number at any time using GET /virtual-numbers/{virtual-number}. Note that Virtual Numbers used in v2 of the Messaging API cannot be used to send messages in v3. Please assign a new Virtual Number instead.
5050
*
5151
*/
5252
@Ignore

0 commit comments

Comments
 (0)