UserMessage

public protocol UserMessage

The protocol to which all user message classes conform.

  • Text for the user message.

    Declaration

    Swift

    var text: String? { get set }
  • Type of the user message.

    Declaration

    Swift

    var type: UserMessageType? { get set }
  • The speech request id for which this message is a response. Only applicable for messages sent using the voice recognition functionality.

    Declaration

    Swift

    var speechId: String { get }