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
DialogNodeOutputGenericDialogNodeOutputResponseTypeImage
with member variables.Declaration
Swift
public init( responseType: String, source: String, title: String? = nil, description: String? = nil, channels: [ResponseGenericChannel]? = nil, altText: String? = nil )
Parameters
responseType
The type of response returned by the dialog node. The specified response type must be supported by the client application or channel.
source
The
https:
URL of the image.title
An optional title to show before the response.
description
An optional description to show with the response.
channels
An array of objects specifying channels for which the response is intended.
altText
Descriptive text that can be used for screen readers or other situations where the image cannot be seen.
Return Value
An initialized
DialogNodeOutputGenericDialogNodeOutputResponseTypeImage
.