MessageType
public enum MessageType
An enum representing the kind of messages and its underlying content / data.
-
A standard text message.
Declaration
Swift
case text(String)
-
A message with attributed text.
Declaration
Swift
case attributedText(NSAttributedString)
-
A photo message.
Declaration
Swift
case picture(MediaItem)
-
A video message.
Declaration
Swift
case video(MediaItem)
-
An object message.
Declaration
Swift
case object(ObjectMessageData)
-
A list message.
Declaration
Swift
case list(ListMessageData)
-
A form message.
Declaration
Swift
case form(FormMessageData)
-
A buttons message.
Declaration
Swift
case buttons(ButtonsMessageData)
-
A quickReplies message.
Declaration
Swift
case quickReplies(ButtonsMessageData)
-
A carousel message.
Declaration
Swift
case carousel(CarouselMessageData)
-
A custom message.
Declaration
Swift
case custom(AnyViewable)
-
Unknown type message
Declaration
Swift
case unknown