Open vaibhav-db opened 1 month ago
@robmoffat we will discuss on today meeting. I had also sent detail over mail, as i was not able to attached the images here.
How to get attachments into SimpleMessageAction:
SimpleMessageAction
in PresentationMLHandler
MessageActivityHandler
does the same job. So we need to exclude the HTML attachment (which is the message) and add the others to the SimpleMessageAction
attachments property from (1)How to get from SimpleMessageAction to controller parameters:
FormDataArgumentWorkflowResolverFactory
for an example.interface IncomingAttachment {
String getName()
InputStream getContents()
}
respondToAttachments(IncomingAttachment one, IncomingAttachment two)
-or-
respondToAttachments(List<IncomingAttachment> one)
IncomingAttachment
type, and create objects from the SimpleMessageAction
to fill out the parameters.
Support file upload feature in MS Teams app
Description of Problem:
User can upload files in MS Teams with App.
Potential Solutions:
Our goal is to land this upload file in @ChatReuest controller method
In framework we need to modify complete flow. like MessageActivityHandler --> ActionConsumer --> ChatHandlerMapping --> @chatRequest