Skip to content

Commit 23e8665

Browse files
committed
chore: Run AggregateSnippets
1 parent 27c420c commit 23e8665

File tree

2 files changed

+9
-8
lines changed

2 files changed

+9
-8
lines changed

.env-example

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ MESSAGES_GEOSPECIFIC_API_URL="https://api-eu.nexmo.com/v1/messages"
2626
MESSAGES_GEOSPECIFIC_API_HOST="api-eu"
2727
MESSAGES_SANDBOX_URL="https://messages-sandbox.nexmo.com/v1/messages"
2828
MESSAGES_MESSAGE_ID="00000000-0000-4000-8000-000000000000"
29-
MESSAGES_IMAGE_URL="https://example.org/image.jpg"
30-
MESSAGES_AUDIO_URL="https://example.org/audio.mp3"
31-
MESSAGES_VIDEO_URL="https://example.org/video.mp4"
32-
MESSAGES_FILE_URL="https://example.org/file.pdf"
33-
MESSAGES_VCARD_URL="https://example.org/vcard.vcf"
29+
MESSAGES_IMAGE_URL="https://file-examples.com/storage/fe435d6a5467c753ca23df4/2017/10/file_example_JPG_100kB.jpg"
30+
MESSAGES_AUDIO_URL="https://file-examples.com/wp-content/storage/2017/11/file_example_MP3_700KB.mp3"
31+
MESSAGES_VIDEO_URL="https://file-examples.com/wp-content/storage/2017/04/file_example_MP4_480_1_5MG.mp4"
32+
MESSAGES_FILE_URL="https://file-examples.com/wp-content/storage/2017/02/file-sample_100kB.doc"
33+
MESSAGES_VCARD_URL="https://raw.githubusercontent.com/nuovo/vCard-parser/refs/heads/master/Example.vcf"
3434
MESSAGES_EMOJI="🐱"
3535
MESSAGES_CAPTION="Additional text to accompany the message"
3636

SNIPPETS.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -845,11 +845,8 @@ System.out.println("Message sent successfully. ID: "+response.getMessageUuid());
845845
var response = client.getMessagesClient().sendMessage(
846846
MmsContentRequest.builder()
847847
.from(MMS_SENDER_ID).to(MESSAGES_TO_NUMBER)
848-
.addAudio(MESSAGES_AUDIO_URL)
849848
.addImage(MESSAGES_IMAGE_URL)
850-
.addVideo(MESSAGES_VIDEO_URL)
851849
.addFile(MESSAGES_FILE_URL)
852-
.addVcard(MESSAGES_VCARD_URL)
853850
.build()
854851
);
855852
System.out.println("Message sent successfully. ID: "+response.getMessageUuid());
@@ -3014,3 +3011,7 @@ Ncco ncco = new Ncco(TalkAction.builder("This is a text to speech call from Vona
30143011

30153012
client.getVoiceClient().createCall(new Call(VOICE_TO_NUMBER, VONAGE_VIRTUAL_NUMBER, ncco.getActions()));
30163013
```
3014+
age").build());
3015+
3016+
client.getVoiceClient().createCall(new Call(VOICE_TO_NUMBER, VONAGE_VIRTUAL_NUMBER, ncco.getActions()));
3017+
```

0 commit comments

Comments
 (0)