Message¶
Structure Class¶
Message
dataclass
¶
Container for text that is returned to the customer..
Attributes¶
content
class-attribute
instance-attribute
¶
content: str | None = field(repr=False, default=None)
The text of the message.
image_response_card
class-attribute
instance-attribute
¶
image_response_card: ImageResponseCard | None = None
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.