Pre-requisites
Create a list of usersTrigger broadcast
You can trigger broadcast usingsupr_client.subscriber_lists.broadcast() method.
Add file attachment (for email)
To add one or more attachments to a notification (viz. Email), calladd_attachment() on broadcast instance for each attachment file. Ensure that attachment url is valid and public, otherwise error will be raised. Since broadcast instance size can’t be > 100 KB, local file paths can’t be passed in event attachment.