GenericAttachment

Represents an option rendered to the user when a prompt is shown. It could be an image, a button, a link, or text.

Types

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

Properties

Link copied to clipboard

The URL of an attachment to the response card.

Link copied to clipboard

The list of options to show to the user.

Link copied to clipboard

The URL of an image that is displayed to the user.

Link copied to clipboard

The subtitle shown below the title.

Link copied to clipboard

The title of the option.

Functions

Link copied to clipboard
inline fun copy(block: GenericAttachment.Builder.() -> Unit = {}): GenericAttachment
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