agentscope-ai / agentscope-ai/agentscope
feat(channel): add WhatsApp channel support
- Linguagem predominante
- Python
- Estrelas
- 31.6k
- Forks
- 3.5k
- Merge médio
- 1d 16h
- PRs com merge (30d)
- 103
Descrição
**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
Guia de contribuição
Direção de pesquisa
Inspect `agentscope.app.channel` and the existing Feishu/Discord channel implementations to infer the expected `ChannelBase` contract. Add a new `WhatsAppChannel` class under this module implementing `ListChats`, `ListChatMembers`, `SendMessage`, `SendFile`, and `SendImage` based on WhatsApp Business API capabilities. Compare it with the repository’s channel integration pattern, and define done as a class that follows the same shape and wiring style while exposing the requested methods.
Escrita pelo modelo de indexação a partir do texto da issue.
Avaliação
- Stack de tecnologia
- python
- Domínio
- backend
- Tipo de issue
- Funcionalidade
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Status de atividade
- Pouca atividade
- Clareza
- Razoavelmente clara
- Facilidade para iniciantes
- 48/100