AnswerBotSDK Documentation

Class Answer​Bot​Engine

@objc(ZDKAnswerBotEngine)
public final class AnswerBotEngine: NSObject, Engine  
AnswerBotEngine AnswerBotEngine Engine Engine AnswerBotEngine->Engine MessagingAPI.Observable MessagingAPI.Observable AnswerBotEngine->MessagingAPI.Observable NSObject NSObject AnswerBotEngine->NSObject ArticleCoordinatorDelegate ArticleCoordinatorDelegate AnswerBotEngine->ArticleCoordinatorDelegate

Conforms To

Engine
MessagingAPI.Observable
NSObject

Properties

id

public let id = Constants.engineId

transfer​Option​Description

public let transferOptionDescription  

on​Update

public var onUpdate  

Methods

is​Conversation​Ongoing()

@available(*, deprecated, message: "Use isConversationOngoing(_ completion: @escaping (Bool) -> Void) instead")
    public func isConversationOngoing() -> Bool  

is​Conversation​Ongoing(_:​)

@objc public func isConversationOngoing(_ completion: @escaping (Bool) -> Void)  

start(messaging​API:​)

public func start(messagingAPI: MessagingAPIProtocol)  

stop()

public func stop()  

on​Event(_:​)

public func onEvent(_ event: Event)  

engine()

@objc public static func engine() throws -> AnswerBotEngine  

observe​Updates(_:​)

public func observeUpdates(_ callback: @escaping (Update) -> Void) -> MessagingAPI.ObservationToken