tock / ai.tock.bot.connector.messenger / MessengerConnector / sendOptInEvent

sendOptInEvent

fun sendOptInEvent(event: Event): Unit (source)
Deprecated: deprecated - use BotRepository#notify

Send action after an optin request, using the recipient.user_ref property. See https://developers.facebook.com/docs/messenger-platform/plugin-reference/checkbox-plugin#implementation for more details.

Parameters

action - the action to send

Exceptions

IllegalStateException - if the message is not delivered