You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pywa/api.py
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -583,6 +583,7 @@ def send_marketing_message(
583
583
sender: str,
584
584
to: str,
585
585
recipient: str,
586
+
recipient_type: str,
586
587
template: dict,
587
588
reply_to_message_id: str|None=None,
588
589
message_activity_sharing: bool|None=None,
@@ -599,6 +600,7 @@ def send_marketing_message(
599
600
sender: The phone id to send the message from.
600
601
to: The WhatsApp ID to send the message to.
601
602
recipient: The recipient unique identifier (BSUID).
603
+
recipient_type: The type of the recipient (e.g. ``individual``, ``group``).
602
604
template: The template object to send.
603
605
reply_to_message_id: The ID of the message to reply to.
604
606
message_activity_sharing: Toggles on / off sharing message activities (e.g. message read) for that specific marketing message to Meta to help optimize marketing messages.
recipient: The recipient unique identifier (BSUID).
589
+
recipient_type: The type of the recipient (e.g. ``individual``, ``group``).
588
590
template: The template object to send.
589
591
reply_to_message_id: The ID of the message to reply to.
590
592
message_activity_sharing: Toggles on / off sharing message activities (e.g. message read) for that specific marketing message to Meta to help optimize marketing messages.
0 commit comments