Download the PHP package rumahweb/whatsapp-sdk without Composer
On this page you can find all versions of the php package rumahweb/whatsapp-sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package whatsapp-sdk
whatsapp-sdk
Whatsapp API SDK hanya untuk penggunaan keperluan perusahaan
Core concept
Penting untuk diketahui penggunaan sdk ini dipakai di end aplikasi, tidak menghandle langsung hook pada whatsapp.
Information
Ada beberapa type webhook yang dikirim oleh facebook
-
Message
- text
- image
- sticker
- documents
- unknown (ex pesan tidak support)
- button
-
Status
- sent
- delivered
- read
- failed
Features
- [x] Send text message
- [x] Generate webhook message (bukan memvalidasi webhook facebook secara langsung)
- [ ] Send image message
- [ ] Send document message
Usage
$token: Token facebook$wabaId: WhatsApp business account id
Message
Message Template
to: nomor penerimaheader: header template (optional)body: body template (optional)
Pastikan index array di header dan body sama dengan template yang telah dibuat di facebook sesuai urutan variabel nya.
Ref: disini
Contoh Response Success
Hook
hook contoh dibawah merupakah return dari method berikut:
Keterangan :
phone_display: Nomor hp whatsappphone_id: Phone number id device whatsapphook_type: saat ini hanya ada 2 (message&status)wamid: WhatsApp message ID
Message type
Text message
Status Type
recipient_phone: penerima message
Status Delivered
Status sent
Status Failed
Status Read
Example error
All versions of whatsapp-sdk with dependencies
PHP Build Version
Package Version
The package rumahweb/whatsapp-sdk contains the following files
Loading the files please wait ...