DialogNodeOutputGenericDialogNodeOutputResponseTypeImage
public struct DialogNodeOutputGenericDialogNodeOutputResponseTypeImage : Codable, Equatable
DialogNodeOutputGenericDialogNodeOutputResponseTypeImage.
Enums with an associated value of DialogNodeOutputGenericDialogNodeOutputResponseTypeImage: DialogNodeOutputGeneric
-
The type of response returned by the dialog node. The specified response type must be supported by the client application or channel.
Declaration
Swift
public var responseType: String -
The
https:URL of the image.Declaration
Swift
public var source: String -
An optional title to show before the response.
Declaration
Swift
public var title: String? -
An optional description to show with the response.
Declaration
Swift
public var description: String? -
An array of objects specifying channels for which the response is intended.
Declaration
Swift
public var channels: [ResponseGenericChannel]? -
Descriptive text that can be used for screen readers or other situations where the image cannot be seen.
Declaration
Swift
public var altText: String? -
Initialize a
DialogNodeOutputGenericDialogNodeOutputResponseTypeImagewith member variables.Declaration
Swift
public init( responseType: String, source: String, title: String? = nil, description: String? = nil, channels: [ResponseGenericChannel]? = nil, altText: String? = nil )Parameters
responseTypeThe type of response returned by the dialog node. The specified response type must be supported by the client application or channel.
sourceThe
https:URL of the image.titleAn optional title to show before the response.
descriptionAn optional description to show with the response.
channelsAn array of objects specifying channels for which the response is intended.
altTextDescriptive text that can be used for screen readers or other situations where the image cannot be seen.
Return Value
An initialized
DialogNodeOutputGenericDialogNodeOutputResponseTypeImage.
View on GitHub
DialogNodeOutputGenericDialogNodeOutputResponseTypeImage Structure Reference