# Input.FileUpload
Cardscript
Lets a user upload a file.
# Example
{
"type": "AdaptiveCard",
"body": [
{
"type": "Container",
"id": "inputFileUpload",
"title": "Input.FileUpload",
"items": [
{
"type": "TextBlock",
"text": "Input.FileUpload",
"size": "large",
"spacing": "large",
"separator": true
},
{
"type": "Input.FileUpload",
"spacing": "medium"
}
]
}
],
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.0"
}
# Required properties
# id
Unique identifier for the value. Used to identify collected input when the Submit action is performed.
- Type:
string
# type
Must be "Input.FileUpload"
.
- Type:
string
- Values:
Input.FileUpload
# Optional properties
# spacing
Controls the amount of spacing between this element and the preceding element.
- Type:
string
- Values:
none
small
default
medium
large
extraLarge
padding
# separator
When true
, draw a separating line at the top of the element.
- Type:
boolean
# JSON Schema
{
"additionalProperties": true,
"type": "Input.FileUpload",
"description": "Lets a user upload a file.",
"allOf": [
{
"$ref": "#/definitions/CardElement"
}
],
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the value. Used to identify collected input when the Submit action is performed."
},
"type": {
"type": "string",
"description": "Must be `\"Input.FileUpload\"`.",
"enum": [
"Input.FileUpload"
]
}
},
"required": [
"type",
"id"
],
"typeSafe": "input-file-upload",
"example": "FIXME!",
"propertySummary": [
{
"name": "id",
"type": "string",
"required": "Required",
"text": "Unique identifier for the value. Used to identify collected input when the Submit action is performed."
},
{
"name": "type",
"type": "string",
"required": "Required",
"text": "Must be `\"Input.FileUpload\"`."
}
]
}