Call Status#
- class pywa.types.calls.CallStatus#
Represents a call status update.
This update arrives when during a business-initiated call, the user either accepts or rejects the call.
- Variables:
id β The call ID.
metadata β The metadata of the call (to which phone number this call was made or received).
timestamp β The timestamp when this status update is sent (in UTC).
type (str) β The type of the status update (always βcallβ).
status (CallStatusType) β The status of the call (either βRINGINGβ, βACCEPTEDβ, or βREJECTEDβ).
tracker (_CallbackDataT | None) β The tracker that the call is initiated with.
shared_data β Shared data between handlers.
- class pywa.types.calls.CallStatusType#
Represents the type of call status.
- Variables:
RINGING β Business initiated call is ringing the user.
ACCEPTED β Business initiated call is accepted by the user.
REJECTED β Business initiated call is rejected by the user.