cachesistemas / chatbot-gpt-whatsapp
ChatBot para WhatsApp usando IA GPT
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 6
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/cachesistemas/chatbot-gpt-whatsapp
Requires
This package is auto-updated.
Last update: 2025-09-12 22:30:52 UTC
README
CONTATO
Example of use:
Installing composer
composer require cachesistemas/chatbot-gpt-whatsapp
Connecting with Whatsapp
use Cachesistemas\ClassePhpApiWame\WhatsApp; include_once 'vendor/autoload.php'; $whatsapp = new WhatsApp(["server" => "API server", "key" => "Your Key Instance"]); echo $whatsapp->getQrCodeHTML();
Updating webhook
$body = ["allowWebhook" => true, "webhookMessage" => "your-url.com/webhook.php", "webhookGroup" => "", "webhookConnection" => "", "webhookQrCode" => ""]; $whatsapp->updateWebhook($body);
your-url.com/webhook.php
use Cachesistemas\ChatbotGptWhatsapp\Bot; include 'vendor/autoload.php'; new Bot(["wpp_server" => "", "wpp_key" => "", "open_key" => " "]);