6.0.0
[ 6.0.0 ] - 2025-02-17
π NEW Major Version of infobip-api-java-client
.
All changes, including breaking changes, are addressed and explained in the list bellow.
If you find out that something was not addressed properly, please submit an issue.
Added
- Most recent feature set for:
- Infobip Messages API.
- Footer support for Messages API Message. For additional details check Messages API documentation.
- Add calendar event button support for Messages API Message. For additional details check Messages API documentation.
- Card options for Carousel and Rich Link body types in Messages API Message. For additional details check Messages API documentation.
- Infobip Voice API.
- Support for Calls Configuration.
- Infobip SMS API.
- Infobip 2FA API.
- Infobip Email API.
- Support for Email IP Management instead of set of deprecated Email IP endpoints. Check Email API documentation for additional details.
- Infobip WhatsApp API.
- Infobip Viber API.
- Infobip WebRTC API.
- Infobip Moments.
- Infobip MMS API.
- Introduced
/mms/2/messages (V2)
replacing the/mms/1/advanced (V1)
endpoint. - Introduced
/mms/2/reports (V2)
replacing/mms/1/reports (V1)
endpoint. - Introduced
/mms/2/logs (V2)
replacing/mms/1/logs (V1)
endpoint.
- Introduced
- Infobip Messages API.
- Added new Calls error code type:
MACHINE_DETECTED
. - Added support for
CallsProviderSipTrunkUpdateRequest
. - Created
RawJsonDeserializer
to handle raw JSON deserialization.
Changed
-
General
- Unified
MessageResponse
,MessageResponseDetails
,MessageGroupError
,SendingSpeedLimit
andSpeedLimitTimeUnit
. - Updated
MessagesApiMessageGeneralStatus
β Adjustments due to API updates. - Updated
DeprecationChecker
logging level fromWARNING
toINFO
when the endpoint is only deprecated without a defined sunset date.
- Unified
-
Mms API
- Introduced the new
MmsMessage
class to replaceMmsAdvancedMessage
, reflecting the latest state of the API for MMS messaging.
Updated request classes by replacingMmsAdvancedRequest
with the newMmsRequest
class, reflecting the latest state of the API. - Updated sending message function: use
sendMmsMessages
instead ofsendMmsMessage
.
- Introduced the new
-
Voice API
- Adjusted IVR models in script processing. Scenario scripting is now implemented as a raw string to increase usability of the feature. Scripts should be passed as strings to the IVR request model in all upcoming SDK versions.
- Updated
CallsUpdateScenarioRequest.script
field type fromList<CallsScriptInner>
βString
. - Updated
CallsSearchResponse.script
andelse
fields type fromList<Object>
βString
. - Updated
CallsUpdateScenarioResponse.script
field type fromObject
βString
.
- Updated
- Updated
CallsGetVoicesResponses.voices
field type fromList<CallsVoice>
βList<CallsSynthesisVoice>
. - Updated
CallsSearchResponse.lastUsageDate
field type fromOffsetDateTime
βString
. - Updated
CallsSpeechCaptureRequest.language
field type fromCallsLanguage
βCallTranscriptionLanguage
. - Updated
CallsTranscription.language
field type fromCallsLanguage
βCallTranscriptionLanguage
. - Updated
CallsUpdateScenarioResponse.lastUsageDate
field type fromOffsetDateTime
βString
. - Removed
CallsVoice
β Certain fields removed due to API updates. - Removed
CallRoutingUrlSecurityConfigType
β Unified intoSecurityConfigType
enumeration class. - Removed
CallsUrlSecurityConfigType
β Unified intoSecurityConfigType
enumeration class. - Fixed Number Masking content schema when uploading audio files.
- Fixed Number Masking UTC date-time deserialization in setup response model.
- Fixed: Replaced body content in
ConferencePlayFileRequest
fromCallsPlayRequest
toCallsConferencePlayRequest
.
- Adjusted IVR models in script processing. Scenario scripting is now implemented as a raw string to increase usability of the feature. Scripts should be passed as strings to the IVR request model in all upcoming SDK versions.
-
Email API
- Updated
EmailSuppressionInfo.createdDate
field type fromString
βOffsetDateTime
. - Removed
EmailSingleMessageStatus
β Now integrated into the unifiedMessageStatus
class. - Updated
EmailAddDeleteSuppressionType
β Pending further clarification.
- Updated
-
Messaging API
- Removed
MessagesApiRequestOptions
β Now replaced byMessagesApiDefaultMessageRequestOptions
class. - Removed
MessagesApiSpeedLimitTimeUnit
β Now replaced by the unifiedSpeedLimitTimeUnit
class.
- Removed
-
Viber API
- Removed
ViberMessageRequestSchedulingSettings
β Now useViberRequestSchedulingSettings
. - Updated
ViberInboundContent.typeEnum
βViberInboundContentType
. - Updated
ViberOutboundContent.typeEnum
βViberOutboundContentType
. - Removed
ViberMessageStatus
β Now unified intoMessageStatus
. - Removed
ViberSpeedLimitTimeUnit
β Now unified intoSpeedLimitTimeUnit
. - Removed
ViberWebhookInboundReport
β Now useViberInboundMessageViberInboundContent
.
- Removed
-
WhatsApp API
- Removed unsupported enumeration values from
WhatsAppWebhookType
. - Updated
WhatsAppWebhookReferralMediaVideo
,WhatsAppWebhookReferralMediaImage
,WhatsAppWebhookMediaVideo
β Introduced newtype
field, no longer extendingWhatsappWebhookReferalMedia
. - Refactored
WhatsAppWebhookReferralMedia
β Changed from an abstract class to a normal class. - Removed
context
field from variousWhatsAppWebhook
message types:WhatsAppWebhookQuickReplyContent
WhatsAppWebhookListReplyContent
WhatsAppWebhookInboundAudioMessage
WhatsAppWebhookButtonReplyContent
WhatsAppWebhookInboundVoiceMessage
WhatsAppWebhookInboundVideoMessage
WhatsAppWebhookInboundTextMessage
WhatsAppWebhookInboundStickerMessage
WhatsAppWebhookInboundLocationMessage
WhatsAppWebhookInboundImageMessage
WhatsAppWebhookInboundDocumentMessage
WhatsAppWebhookInboundContactMessage
- Removed
integrationType
,pairedMessageId
, andcallbackData
fields fromWhatsAppWebhookInboundMessageData
. - Removed
INFECTED_CONTENT
,INTERACTIVE_EXTENSION_REPLY
,UNSUPPORTED
subtypes fromWhatsAppWebhookInboundMessage
abstract class. - Replaced
WhatsAppValidityPeriodTimeUnit
class withValidityPeriodTimeUnit
. - Removed no longer supported 50 business-initiated conversations messaging tear limit for WhatsApp senders.
- Updated
WhatsAppPhoneNumberRequest.typeEnum
βWhatsAppPhoneNumberTypeEnum
. - Updated
WhatsAppOtpRequest.typeEnum
βWhatsAppNumberType
. - Removed
structure
field fromWhatsAppDefaultUtilityTemplatePublicApiRequest
. - Removed
structure
field fromWhatsAppTemplatePublicApiRequest
. - Removed
groupId
field fromWhatsAppContext
. - Refactored
WhatsAppDefaultTemplateStructureApiData
β Now an implementation ofWhatsAppTemplateStructureApiData
. - Refactored
WhatsAppAuthenticationTemplateStructureApiData
β Now an implementation ofWhatsAppTemplateStructureApiData
.
- Removed unsupported enumeration values from
-
WebRTC API
- Updated
WebRtcValidityWindow.acceptableDays
typeEnum βDeliveryDay
. - Removed
applicationId
field fromWebRtcTokenRequestModel
. - Updated
WebRtcValidityWindow.LayoutsEnum
βWebRtcLayout
. - Updated
WebRtcLocalization.typeEnum
βWebRtcLocalizationType
. - Updated
WebRtcWebRtcDestination
βWebRtcCallsDestination
. - Removed
fcmServerKey
field fromWebRtcAndroidPushNotificationConfig
.
- Updated
Removed:
- Deprecated functions for sending Viber
Image
,File
, andText
messages have been removed. UseViberApi.sendViberMessages
to send messages. - All the Calls IVR script related class and from now on all the scripts are processed as
String
:CallsCallApi
CallsCapture
CallsCollect
CallsDial
CallsDialToMany
CallsDialToWebRTC
CallsDialToConversations
CallsForEach
CallsGoTo
CallsHangup
CallsIfThenElse
CallsMachineDetection
CallsPause
CallsPlay
CallsPlayFromRecording
CallsRecord
CallsRepeatUntil
CallsRepeatWhile
CallsSay
CallsSendSms
CallsSetVariable
CallsSwitchCase
CallsWhileDo
These changes align the SDK with the current API specification, ensuring consistency and reliability in future updates.