PROTOCOL
InfoMessageModel
public protocol InfoMessageModel: CustomDebugStringConvertible, CustomStringConvertible
A model that contains information to represent a user message.
Properties
key
var key: String?
A unique key/identifier to match to an existing interactive component such as an 'InputTextViewHolder.key'.
reason
var reason: String?
A reason that may be displayed with an existing interactive component such as an InputTextViewHolder
.
text
var text: String?
An optional text.
messageStyleAttribute
var messageStyleAttribute: MessageStyleAttribute
The MessageStyleAttribute type.