Package com.ringcentral.definitions
Class AdaptiveCardRequest
java.lang.Object
com.ringcentral.definitions.AdaptiveCardRequest
-
Field Summary
FieldsModifier and TypeFieldDescriptionSpecifies a background image oa a card.List of adaptive cards with the detailed informationThe 2-letter ISO-639-1 language used in the card.Specifies the minimum height of the card in pixels Example: 50pxSpecifies what should be spoken for this entire card.Type of attachment.Version.Defines how the content should be aligned vertically within the container. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactions
(AdaptiveCardAction[] actions) backgroundImage
(BackgroundImage backgroundImage) body
(AdaptiveCardInfoRequest[] body) fallbackText
(String fallbackText) selectAction
(AdaptiveCardSelectAction selectAction) verticalContentAlignment
(String verticalContentAlignment)
-
Field Details
-
type
Type of attachment. This field is mandatory and filled on server side - will be ignored if set in request body Required Enum: AdaptiveCard -
version
Version. This field is mandatory and filled on server side - will be ignored if set in request body Required -
body
List of adaptive cards with the detailed information -
actions
-
selectAction
-
fallbackText
-
backgroundImage
Specifies a background image oa a card. Acceptable formats are PNG, JPEG, and GIF -
minHeight
Specifies the minimum height of the card in pixels Example: 50px -
speak
Specifies what should be spoken for this entire card. This is simple text or SSML fragment -
lang
The 2-letter ISO-639-1 language used in the card. Used to localize any date/time functions Enum: en, fr, es -
verticalContentAlignment
Defines how the content should be aligned vertically within the container. Only relevant for fixed-height cards, or cards with a `minHeight` specified Enum: top, center, bottom
-
-
Constructor Details
-
AdaptiveCardRequest
public AdaptiveCardRequest()
-
-
Method Details
-
type
-
version
-
body
-
actions
-
selectAction
-
fallbackText
-
backgroundImage
-
minHeight
-
speak
-
lang
-
verticalContentAlignment
-