Input.Time

Input.Time collects Time from the user,

Property Type Required Description
id string Yes Id for the value (will be used to identify collected input when SUBMIT is clicked)
max string No hint of maximum value (may be ignored by some clients)
min string No hint of minimum value (may be ignored by some clients)
placeholder string No Title Description of the input desired
type "Input.Time" No The type must be Input.Time
value string No The initial value for a field expressed in ISO-8601 format
spacing string No Controls the amount of spacing between this element and the previous element.
separator boolean No, default: false The Separator object type describes the look and feel of a separation line between two elements.

Example

{
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "type": "AdaptiveCard",
    "version": "1.0",
    "body": [
        {
            "type": "TextBlock",
            "text": "What time do you want to meet?"
        },
        {
            "type": "Input.Time",
            "id": "time",
            "min": "09:00",
            "max": "17:00",
            "value": "15:30"
        }
    ],
    "actions": [
        {
            "type": "Action.Submit",
            "title": "OK"
        }
    ]
}
{ "$schema": "http://adaptivecards.io/schemas/adaptive-card.json", "type": "AdaptiveCard", "version": "1.0", "body": [ { "type": "TextBlock", "text": "What time do you want to meet?" }, { "type": "Input.Time", "id": "time", "min": "09:00", "max": "17:00", "value": "15:30" } ], "actions": [ { "type": "Action.Submit", "title": "OK" } ] }
Try it Yourself ยป

Properties

id

Id for the value (will be used to identify collected input when SUBMIT is clicked)

  • Type: string
  • Required: Yes

max

hint of maximum value (may be ignored by some clients)

  • Type: string
  • Required: No

min

hint of minimum value (may be ignored by some clients)

  • Type: string
  • Required: No

placeholder

Title Description of the input desired

  • Type: string
  • Required: No

type

The type must be Input.Time

  • Type: "Input.Time"
  • Required: No
  • Allowed values:
    • Input.Time

value

The initial value for a field expressed in ISO-8601 format

  • Type: string
  • Required: No

spacing

Controls the amount of spacing between this element and the previous element.

  • Type: string
  • Required: No
  • Allowed values:
    • "none"
    • "small"
    • "default"
    • "medium"
    • "large"
    • "extraLarge"
    • "padding"

separator

The Separator object type describes the look and feel of a separation line between two elements.

  • Type: boolean
  • Required: No, default: false