SCSAgentTextEvent

@interface SCSAgentTextEvent : NSObject <SCSChatEvent>

Information related to an incoming agent text event.

  • The text of the incoming message.

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic) NSString *text;

    Swift

    var text: String! { get }
  • Information about the agent or bot sending the message.

    Declaration

    Objective-C

    @property (readonly, assign, nonatomic) SCSChatAgent *agent;

    Swift

    unowned(unsafe) var agent: SCSChatAgent! { get }