Skip to content

Commit 13aec94

Browse files
committed
Small fix
1 parent 79e8a9f commit 13aec94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/src/main/java/ExampleConversationSendMessage.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
public class ExampleConversationSendMessage {
1313

1414
public static void main(String[] args) {
15-
if (args.length < 4) {
15+
if (args.length < 3) {
1616
System.out.println("Please at least specify your access key, the channel id and destination address.\n" +
1717
"Usage : java -jar <this jar file> test_accesskey(Required) channel_id(Required) to(Required) fallback_channel_id(optional)");
1818
return;
@@ -42,7 +42,7 @@ public static void main(String[] args) {
4242

4343
try {
4444
ConversationSendResponse sendResponse = messageBirdClient.sendMessage(request);
45-
System.out.println(sendResponse.toString());//Prints messageID
45+
System.out.println(sendResponse.toString());
4646

4747
} catch (GeneralException | UnauthorizedException exception) {
4848
exception.printStackTrace();

0 commit comments

Comments
 (0)