Teams file upload profile

org.intentschema.communication.chat.file.upload.v1@com.microsoft.teams.v1

JSON: bare · @sha256:c976d85f5ff7…
Hash: sha256:c976d85f5ff73eefe4eb371f8cbda63a3ecc5cd9872f9bd2d82f22d8f6c77ce0

Microsoft Teams profile for file upload via chat attachment.

Implements: Upload chat file (org.intentschema.communication.chat.file.upload.v1)

Payload

FieldTypeDescription
target *Target(system = "ms_teams", required: system)
object *object
idempotency_keystring
object
FieldTypeDescription
channel_id *string
thread_idstring
file *BlobRef
commentstring

Result

FieldTypeDescription
external_id *stringProvider-assigned id.
created_at *string (date-time)
urlstring (uri)

API mapping

FieldValue
base_urlhttps://graph.microsoft.com
methodPUT
path/v1.0/drives/{driveId}/items/{parentId}:/{filename}:/content
scopesFiles.ReadWrite
docshttps://learn.microsoft.com/en-us/graph/api/driveitem-put-content

Field mapping

Intent fieldAPI parameter
object.filefile content (PUT to drive item)
object.file.filename/{filename}: path segment
(implicit)driveId and parentId from channel's SharePoint drive