ImageResponseCard

A card that is shown to the user by a messaging platform. You define the contents of the card, the card is displayed by the platform.

When you use a response card, the response from the user is constrained to the text associated with a button on the card.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

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.

Link copied to clipboard

The subtitle to display on the response card. The format of the subtitle is determined by the platform displaying the response card.

Link copied to clipboard

The title to display on the response card. The format of the title is determined by the platform displaying the response card.

Functions

Link copied to clipboard
inline fun copy(block: ImageResponseCard.Builder.() -> Unit = {}): ImageResponseCard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String