Hello I and using a lightning-input file that allows the users upload multiple files. In the apex controller I want to send a push notification to clients with a message and the attached files the user uploaded.

My apex controller and javascript file has the same code of this link: https://salesforcespace.com/how-to-use-the-file-upload-lightning-web-component/

The problem is that I do not know how to attach files and send push notifications with this documents.

Could anybody do an example? Thanks


You must log in to answer this question.