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, with a public URL or a local file path. If you pass a URL, ensure that it is valid and public, otherwise error will be raised. Local files are base64-encoded into the request, so the total broadcast instance size (including attachments) must stay within the 800 KB limit.