Add example for sending media #231
Labels
card format/adaptivecard
Adaptive Card support
help wanted
Extra attention is needed
question
Further information is requested
Hi, notify author here. We're currently working on a
v2
and I'm interested in uploading/sending files in the form of a message attachment to Teams.I've worked my way through the code and I see things like the attachment type, image elements and media elements. Using, for example, an image element and adding it as a card to an existing adaptive card, seems straight forward. However, it expects an URL, implying that the image has to have been uploaded somewhere before. The functionality we're aiming for and that most other services (so far) support, is uploading a local file as a message attachment. Is there a way to do this, that I'm overlooking?
Secondly, is there a way to upload non-image type files? Most other platforms support a way to upload a file of arbitrary type. I'd assume that this is done via the media type but the comment suggests, that this may not be functional with Teams. I'd appreciate if you could clarify this for me.
The text was updated successfully, but these errors were encountered: