TemplateMessageData

open class TemplateMessageData: NSObject, Decodable

Represents the data structure for template messages.

Since

4.22.0
  • Represents simple template data including key and variables.

    Since

    4.22.0
    See more

    Declaration

    Swift

    public class SimpleTemplateData: NSObject, Codable
  • Options for configuring the container of a message template.

    Since

    4.22.0
    See more

    Declaration

    Swift

    public class ContainerOptions: NSObject, Decodable
  • The type of the message template.

    Since

    4.22.0

    Declaration

    Swift

    public var type: String
  • key

    The key of the message template.

    Since

    4.22.0

    Declaration

    Swift

    public var key: String
  • The container options of the message template.

    Since

    4.22.0

    Declaration

    Swift

    public var containerOptions: ContainerOptions
  • The variables of the message template.

    Since

    4.22.0

    Declaration

    Swift

    public var variables: [String: Any]
  • The view variables of the message template.

    Since

    4.22.0

    Declaration

    Swift

    public var viewVariables: [String: [SimpleTemplateData]]
  • Initializes a new TemplateMessageData from a decoder.

    Since

    4.22.0

    Declaration

    Swift

    public required init(from decoder: Decoder) throws