Skip to content

Commit f5c1515

Browse files
committed
Nit
1 parent bee816d commit f5c1515

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

EXAMPLES/interactive.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,11 @@ const interactive_catalog_message = new Interactive(
154154
## Call Permission Request
155155

156156
```ts
157-
import { Interactive, ActionCallPermission, Body } from "whatsapp-api-js/messages";
157+
import {
158+
Interactive,
159+
ActionCallPermission,
160+
Body
161+
} from "whatsapp-api-js/messages";
158162

159163
const interactive_call_permission_message = new Interactive(
160164
new ActionCallPermission(),

EXAMPLES/main.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,11 +74,7 @@ Whatsapp.on.message = async ({ reply }) => {
7474
import { WebRTCMagic } from "some-magical-webrtc-library";
7575

7676
const spd = await WebRTCMagic.offer();
77-
Whatsapp.initiateCall(
78-
"from (bot phoneID)",
79-
"to (phone number/wa_id)",
80-
spd
81-
);
77+
Whatsapp.initiateCall("from (bot phoneID)", "to (phone number/wa_id)", spd);
8278

8379
// If the user accepts the call, you can connect
8480
// to it as shown in the following example

0 commit comments

Comments
 (0)