public static interface ImageResponseCard.Builder extends SdkPojo, CopyableBuilder<ImageResponseCard.Builder,ImageResponseCard>
| Modifier and Type | Method and Description |
|---|---|
ImageResponseCard.Builder |
buttons(Button... buttons)
A list of buttons that should be displayed on the response card.
|
ImageResponseCard.Builder |
buttons(Collection<Button> buttons)
A list of buttons that should be displayed on the response card.
|
ImageResponseCard.Builder |
buttons(Consumer<Button.Builder>... buttons)
A list of buttons that should be displayed on the response card.
|
ImageResponseCard.Builder |
imageUrl(String imageUrl)
The URL of an image to display on the response card.
|
ImageResponseCard.Builder |
subtitle(String subtitle)
The subtitle to display on the response card.
|
ImageResponseCard.Builder |
title(String title)
The title to display on the response card.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildImageResponseCard.Builder title(String title)
The title to display on the response card. The format of the title is determined by the platform displaying the response card.
title - The title to display on the response card. The format of the title is determined by the platform
displaying the response card.ImageResponseCard.Builder subtitle(String subtitle)
The subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.
subtitle - The subtitle to display on the response card. The format of the subtitle is determined by the platform
displaying the response card.ImageResponseCard.Builder imageUrl(String imageUrl)
The URL of an image to display on the response card. The image URL must be publicly available so that the platform displaying the response card has access to the image.
imageUrl - The URL of an image to display on the response card. The image URL must be publicly available so that
the platform displaying the response card has access to the image.ImageResponseCard.Builder buttons(Collection<Button> buttons)
A list of buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button.
buttons - A list of buttons that should be displayed on the response card. The arrangement of the buttons is
determined by the platform that displays the button.ImageResponseCard.Builder buttons(Button... buttons)
A list of buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button.
buttons - A list of buttons that should be displayed on the response card. The arrangement of the buttons is
determined by the platform that displays the button.ImageResponseCard.Builder buttons(Consumer<Button.Builder>... buttons)
A list of buttons that should be displayed on the response card. The arrangement of the buttons is determined by the platform that displays the button.
This is a convenience method that creates an instance of theButton.Builder avoiding the need to create one
manually via Button.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #buttons(List.
buttons - a consumer that will call methods on
Button.Builder#buttons(java.util.CollectionCopyright © 2023. All rights reserved.