WhatsApp Sender Flutter 是一个非官方的 Flutter 包,使开发者能够以编程方式发送批量 WhatsApp 消息。它通过浏览器自动化方法与 WhatsApp Web API 集成,无需官方 WhatsApp API 访问即可实现消息传递。该包专为 macOS、Windows 和 Linux 等桌面平台设计,适用于自动通知、提醒或营销活动。该包需要手动设置,并依赖于活跃的 WhatsApp Web 会话。虽然功能正常,但其操作不符合官方 WhatsApp 的使用指南,可能存在账号被封禁的风险。
适合场景
批量通知系统
自动提醒
营销活动工具
客户联络
事件邀请
主要特点
批量消息发送
桌面平台支持
浏览器自动化后端
与 Flutter 的简单集成
会话持久性
适合对象
开发桌面应用程序的开发者
需要大规模消息传递的团队
非商业自动化项目
原型化 WhatsApp 集成
使用建议
非官方 API 使用
账户被封禁的风险
需要手动设置会话
仅限桌面平台
无官方 WhatsApp 支持
原始 README
以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。
WhatsApp Sender Flutter
WhatsApp Sender Flutter is an unofficial API for Flutter to send bulk messages in Whatsapp. It's not recommended using it in your company or for marketing purpose.
For the first usage, wait for the automatic download of the .local-chromium folder in your project root. Without this folder the package will not work,this is because this package is based on puppeteer.
Basic usage
The process for sending messages is like for WhatsApp Web:
Scan the qr code
Start the sending
Send text message
After you have scanned the code, you can start the sending campaign.
To know in detail the possible states of WhatsAppSenderFlutterStatus, WhatsAppSenderFlutterCounter, WhatsAppSenderFlutterErrorMessage read documentation