agentscope-ai / agentscope-ai/agentscope

feat(channel): add WhatsApp channel support

Đang mở
#2,254 2 bình luận 0 reaction 1 người được giao Được @redSun64 nhận Xem trên GitHub
Help Wanted
Ngôn ngữ chính
Python
Star
31.5k
Fork
3.5k
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
95

Mô tả

**Background**

The channel system in Agent Service currently supports Feishu and Discord. WhatsApp is one of the most widely used messaging platforms globally, and adding WhatsApp channel support will significantly broaden the reach of Agent Service in international and consumer-facing scenarios.

**Changes**

- Add a new `WhatsAppChannel` class under `agentscope.app.channel` module (inherited from `ChannelBase`), considering to support (depends on the WhatsApp Business API side):
- `ListChats`: list all available conversations accessible by the bot
- `ListChatMembers`: list all members in a specified conversation
- `SendMessage`: send a text message to a specified user or group
- `SendFile`: send a file attachment to a specified user or group
- `SendImage`: send an image to a specified user or group
- More tools to be considered based on the capabilities provided by the WhatsApp Business API

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.