TemplateMessageData
open class TemplateMessageData: NSObject, Decodable
Represents the data structure for template messages.
Since
4.22.0-
Declaration
Swift
public class SimpleTemplateData: NSObject, Codable -
Declaration
Swift
public class ContainerOptions: NSObject, Decodable -
The type of the message template.
Since
4.22.0Declaration
Swift
public var type: String -
The key of the message template.
Since
4.22.0Declaration
Swift
public var key: String -
The container options of the message template.
Since
4.22.0Declaration
Swift
public var containerOptions: ContainerOptions -
The variables of the message template.
Since
4.22.0Declaration
Swift
public var variables: [String: Any] -
The view variables of the message template.
Since
4.22.0Declaration
Swift
public var viewVariables: [String: [SimpleTemplateData]] -
Initializes a new TemplateMessageData from a decoder.
Since
4.22.0Declaration
Swift
public required init(from decoder: Decoder) throws
View on GitHub
Install in Dash