Skip to content

Commit

Permalink
Updated README example.
Browse files Browse the repository at this point in the history
  • Loading branch information
ib-tjuhasz committed Aug 20, 2024
1 parent 68c7661 commit 745a081
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ See below, a simple example of sending a single SMS message to a single recipien
SmsApi smsApi = new SmsApi(apiClient);

SmsMessage message = new SmsMessage()
.sender("InfoSMS")
.addDestinationsItem(new SmsDestination().to("41793026727"))
.content(new SmsTextMessageContent().text("Hello World from infobip-api-java-client!"));
.sender("InfoSMS")
.addDestinationsItem(new SmsDestination().to("41793026727"))
.content(new SmsTextMessageContent().text("Hello World from infobip-api-java-client!"));

SmsRequestEnvelope smsMessageRequest = new SmsRequestEnvelope()
.messages(List.of(message));
Expand Down

0 comments on commit 745a081

Please sign in to comment.