AdaptiveCardRequest
Properties
Name | Type | Required | Description |
---|---|---|---|
type_ | AdaptiveCardRequestType | ✅ | Type of attachment. This field is mandatory and filled on server side - will be ignored if set in request body |
version | str | ✅ | Version. This field is mandatory and filled on server side - will be ignored if set in request body |
body | List[AdaptiveCardInfoRequest] | ❌ | List of adaptive cards with the detailed information |
actions | List[AdaptiveCardAction] | ❌ | |
select_action | AdaptiveCardSelectAction | ❌ | An action that will be invoked when the card is tapped or selected. Action.ShowCard is not supported |
fallback_text | str | ❌ | |
background_image | AdaptiveCardRequestBackgroundImage | ❌ | Specifies the background image of a card |
min_height | str | ❌ | Specifies the minimum height of the card in pixels |
speak | str | ❌ | Specifies what should be spoken for this entire card. This is simple text or SSML fragment |
lang | AdaptiveCardRequestLang | ❌ | The 2-letter ISO-639-1 language used in the card. Used to localize any date/time functions |
vertical_content_alignment | VerticalContentAlignment | ❌ | Defines how the content should be aligned vertically within the container. Only relevant for fixed-height cards, or cards with a minHeight specified |
AdaptiveCardRequestType
Type of attachment. This field is mandatory and filled on server side - will be ignored if set in request body
Properties
Name | Type | Required | Description |
---|---|---|---|
ADAPTIVECARD | str | ✅ | "AdaptiveCard" |
AdaptiveCardRequestBackgroundImage
Specifies the background image of a card
AdaptiveCardRequestLang
The 2-letter ISO-639-1 language used in the card. Used to localize any date/time functions
Properties
Name | Type | Required | Description |
---|---|---|---|
EN | str | ✅ | "en" |
FR | str | ✅ | "fr" |
ES | str | ✅ | "es" |
Build Your Own SDKs with liblab
Build developer friendly SDKs in minutes from your APIs