tock / ai.tock.bot.connector.whatsapp / WhatsAppConnector

WhatsAppConnector

class WhatsAppConnector : ConnectorBase (source)

Constructors

<init>

WhatsAppConnector(applicationId: String, path: String, url: String, login: String, password: String, requestFilter: RequestFilter)

Properties

applicationId

val applicationId: String

Functions

register

Registers the connector for the specified controller.

fun register(controller: ConnectorController): Unit

send

Send an event with this connector for the specified delay.

fun send(event: Event, callback: ConnectorCallback, delayInMs: Long): Unit