Closed dhia-gharsallaoui closed 1 year ago
This PR introduces a couple of new methods on the Msg. This will help the Msg.Middleware to deal with Msg attachments.
Msg
Msg.Middleware
To get the Msg attachments, we can now use the Msg.GetAttachments() methods to get the list of currently assigned attachments to the Msg.
Msg.GetAttachments()
To set the Msg attachments, we can now use the Msg.SetAttachments() methods to set a list of *File as Msg attachments.
Msg.SetAttachments()
*File
@wneessen feel free to check and review.
This PR introduces a couple of new methods on the
Msg
. This will help theMsg.Middleware
to deal withMsg
attachments.To get the
Msg
attachments, we can now use theMsg.GetAttachments()
methods to get the list of currently assigned attachments to the Msg.To set the
Msg
attachments, we can now use theMsg.SetAttachments()
methods to set a list of*File
asMsg
attachments.