WhatsApp Providers¶
WhatsAppProvider ¶
Bases: ABC
WhatsApp delivery provider.
send
abstractmethod
async
¶
Send a WhatsApp message.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
event
|
RoomEvent
|
The room event containing the message content. |
required |
to
|
str
|
Recipient WhatsApp ID or phone number. |
required |
Returns:
| Type | Description |
|---|---|
ProviderResult
|
Result with provider-specific delivery metadata. |
parse_webhook
async
¶
Parse an inbound webhook payload into an InboundMessage.