Text
public struct TextThe wrapper for the message text in different formats: plain text, markdown, and html. Please note this version of the SDK requires the application to convert markdown to html. Future version of the SDK will provide auto conversion from markdown to html.
Since
2.3.0- 
                  
                  Make a Text object for the plain text. DeclarationSwift public static func plain(plain: String) -> TextParametersplainThe plain text. 
- 
                  
                  Make a Text object for the html. DeclarationSwift public static func html(html: String, plain: String? = nil) -> TextParametershtmlThe text with the html markup. plainThe alternate plain text for cases that do not support html markup. 
- 
                  
                  Make a Text object for the markdown. DeclarationSwift public static func markdown(markdown: String, html: String, plain: String? = nil) -> TextParametersmarkdownThe text with the markdown markup. htmlThe html text for how to render the markdown. This will be optional in the future. plainThe alternate plain text for cases that do not support markdown and html markup. 
 View on GitHub
View on GitHub Text Structure Reference
        Text Structure Reference