Skip to content
This repository was archived by the owner on Jun 18, 2025. It is now read-only.

Commit 4d039db

Browse files
Block
1 parent 9d3d729 commit 4d039db

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/WhatsApp.php

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,12 @@ public function Delete($admin_key, $key)
7777
return $this->request();
7878
}
7979

80-
80+
public function Block($admin_key, $key, $block)
81+
{
82+
$this->parth = "/manager/block?key={$key}&admin_key={$admin_key}&block={$block}";
83+
$this->method = "DELETE";
84+
return $this->request();
85+
}
8186

8287

8388
//Instance

0 commit comments

Comments
 (0)