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
I would like to include a picture with the notification to Webex teams, not just text/markdown.
The Webex Message API supports the 'files' and 'attachment' keys, to include images. Apprise's NotifyWebexTeams currently only supports sending markdown or text, in the JSON payload so images cannot be sent through.
The text was updated successfully, but these errors were encountered:
Should be pretty straight forward to do. Webex has a cap of 10MB in files (either cumulative, or 1 can not exceed this size). How would you expect Apprise to handle 1 large 11MB file (as an example). Should it reject it?
For multiple files, should sequence be honored? Say:
file1 is 8MB
file2 is 5MB
file3 is 1MB
If sequence isn't an issue, file1 and file3 could be included in the same payload (reducing messages). Alternatively, file1 + file2 >10MB so it would break into a second message (total of 3 sent to honor sequence).
Turns out this is a bigger issue then i thought. The current Webex support is for Webex Incoming Webehook URL only which does not support Attachments i'm afraid.
I need to re-engineer the plugin entirely to support Webex Teams API. Your request is still possible, but it just got much more complicated.
💡 Include attachments/files in JSON sent to Webex
I would like to include a picture with the notification to Webex teams, not just text/markdown.
The Webex Message API supports the 'files' and 'attachment' keys, to include images. Apprise's NotifyWebexTeams currently only supports sending markdown or text, in the JSON payload so images cannot be sent through.
The text was updated successfully, but these errors were encountered: