'How to receive attachments from users
How do I receive an attachment from a user? I've tried iterating through the Attachment object to extract the content of attachments, but it's always null:
foreach(var item in message.Attachment) { var content = item.Content; }
How can I get attachments from users are prompting them for one?
Solution 1:[1]
Take a look to the Receive Attachment sample. There you will find the code required to access to the attachments sent by the users.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|---|
Solution 1 | Ezequiel Jadib |