This commit is contained in:
debu-2 2026-10-14 06:32:25 +05:30
parent a109df2deb
commit 8901d99dd2
11 changed files with 380 additions and 13 deletions

View file

@ -197,6 +197,7 @@ class BroadcastSendRequest(BaseModel):
recipients: list[str] = Field(min_length=1, max_length=20)
body_parameters: list[str] = Field(default_factory=list, max_length=10)
product_policy: str = "STRICT"
use_sample_header: bool = False
class CustomerSendRequest(BaseModel):
@ -354,6 +355,7 @@ async def whatsapp_account_broadcast(
payload.recipients,
payload.body_parameters,
payload.product_policy,
payload.use_sample_header,
)