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
* Introduced the new [SmsMessage](src/main/java/com/infobip/model/SmsMessage.java) class to replace `SmsTextualMessage` and `SmsBinaryMessage`, providing a unified structure for SMS messaging.
28
+
* Added a content field within `SmsMessage` to define the message content. This supports both textual and binary messages, which can be created using [SmsTextContent](src/main/java/com/infobip/model/SmsTextContent.java) or [SmsBinaryContent](src/main/java/com/infobip/model/SmsBinaryContent.java), respectively.
29
+
* Unified request classes by replacing `SmsAdvancedTextualRequest` and `SmsAdvancedBinaryRequest` with the new [SmsRequest](src/main/java/com/infobip/model/SmsRequest.java) class.
30
+
* Consolidated sending functions: use `sendSmsMessages` instead of the `sendSmsMessage` and `sendBinarySmsMessage` functions.
24
31
* Changed 'sentAt', 'doneAt' field type in [MmsReport](src/main/java/com/infobip/model/MmsReport.java) from String to OffsetDateTime since it didn't correspond to the state of the endpoint.
25
32
* Across all voice models, the 'applicationId' field has been removed and replaced with the 'platform' field, as it better reflects the state of the endpoint.
26
-
27
-
***Removed classes and unified structures**
28
33
* Removed delivery time window configuration classes (`SmsDeliveryTimeWindow`, `MmsDeliveryTimeWindow`, `ViberDeliveryTimeWindow`, `CallRoutingAllowedTimeWindow`, `CallsDeliveryTimeWindow`, `SmsDeliveryTimeWindow`, `CallsTimeWindow`) in favor of a unified class: [DeliveryTimeWindow](src/main/java/com/infobip/model/DeliveryTimeWindow.java)
29
34
* Removed delivery time configuration classes (`SmsDeliveryTimeFrom`, `SmsDeliveryTimeTo`, `MmsDeliveryTime`, `ViberDeliveryTime`, `CallsTimeWindowPoint`, `WebRtcTimeOfDay`, `CallRoutingAllowedTimeFrom`, `CallRoutingAllowedTimeTo`, `WebRtcTimeOfDay`) in favor of a unified class: [DeliveryTime](src/main/java/com/infobip/model/DeliveryTime.java)
30
35
* Removed URL options configuration classes (`MessagesApiUrlOptions`, `ViberUrlOptions`, `WhatsAppUrlOptions`) in favor of a unified class: [UrlOptions](src/main/java/com/infobip/model/UrlOptions.java)
31
36
* Removed platform configuration class (`ViberPlatform`, `MessagesApiPlatform`) in favor of a unified class: [Platform](src/main/java/com/infobip/model/Platform.java)
32
37
* Removed TurkeyIys options configuration classes (`MessagesApiTurkeyIysOptions`, `ViberTurkeyIysOptions`, `SmsTurkeyIysOptions`) in favor of a unified class: [TurkeyIysOptions](src/main/java/com/infobip/model/TurkeyIysOptions.java)
33
38
* Removed delivery day enumeration classes (`SmsDeliveryDay`, `MmsDeliveryDay`, `CallsDeliveryDay`, `CallRoutingAllowedDay`) in favor of a unified class: [DeliveryDay](src/main/java/com/infobip/model/DeliveryDay.java)
34
39
* Removed recipient type enumeration classes (`SmsIysRecipientType`, `ViberRecipientType`, `MessagesApiRecipientType`) in favor of a unified class: [IysRecipientType](src/main/java/com/infobip/model/IysRecipientType.java)
35
-
* Removed validity period configuration classes (`ViberValidityPeriod`, `MessagesApiValidityPeriod`) in favor of a unified class: [IysRecipientType](src/main/java/com/infobip/model/IysRecipientType.java)
36
-
* Removed validity period time unit enumeration classes (`ViberValidityPeriodTimeUnit`, `MessagesApiValidityPeriodTimeUnit`) in favor of a unified class: [IysRecipientType](src/main/java/com/infobip/model/IysRecipientType.java)
40
+
* Removed validity period configuration classes (`ViberValidityPeriod`, `MessagesApiValidityPeriod`) in favor of a unified class: [ValidityPeriod](src/main/java/com/infobip/model/ValidityPeriod.java)
41
+
* Removed validity period time unit enumeration classes (`ViberValidityPeriodTimeUnit`, `MessagesApiValidityPeriodTimeUnit`) in favor of a unified class: [ValidityPeriodTimeUnit](src/main/java/com/infobip/model/ValidityPeriodTimeUnit.java)
Copy file name to clipboardExpand all lines: README.md
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -135,8 +135,7 @@ Bulk ID is received only when you send a message to more than one destination ad
135
135
```
136
136
137
137
#### Receive sent SMS report
138
-
For each SMS that you send out, we can send you a message delivery report in real time. All you need to do is specify your endpoint when sending SMS in the `notifyUrl` field within `SmsTextualMessage`, or subscribe for reports by contacting our support team at [email protected].
139
-
e.g. `https://{yourDomain}/delivery-reports`
138
+
All you need to do is specify your endpoint when sending SMS in the `webhooks.delivery.url` field of your request, or subscribe for reports by contacting our support team at [email protected].
140
139
141
140
You can use data models from the library and the pre-configured `com.infobip.JSON` serializer.
0 commit comments