template
This commit is contained in:
parent
a109df2deb
commit
8901d99dd2
11 changed files with 380 additions and 13 deletions
|
|
@ -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,
|
||||
)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue