tock / ai.tock.bot.engine.event

Package ai.tock.bot.engine.event

The Events supported by Tock

Types

AppRole

An app role.

enum class AppRole

ContinuePublicConversationInPrivateEvent

Switch to private mode event.

class ContinuePublicConversationInPrivateEvent : OneToOneEvent

EndConversationEvent

Event provided when closing a conversation between a user and a bot

class EndConversationEvent : OneToOneEvent

EndSessionEvent

The session is ended. dialog context should be cleared.

class EndSessionEvent : Event

Event

The base class for all events or actions.

abstract class Event

EventType

Define default event types.

enum class EventType

GetAppRolesEvent

To get applications roles.

class GetAppRolesEvent : Event

LoginEvent

A login event, in order to provide account linking.

class LoginEvent : OneToOneEvent

LogoutEvent

An event used to cancel a LoginEvent.

class LogoutEvent : OneToOneEvent

MarkSeenEvent

The "message seen" event.

class MarkSeenEvent : Event

MediaStatusEvent

In order to listen to media event ("stop", "play, etc.).

class MediaStatusEvent : OneToOneEvent

NewDeviceEvent

A new device event, in order to switch to another device.

class NewDeviceEvent : OneToOneEvent

NoInputEvent

Event created when there is no input from the user (after an undetermined amount of time)

class NoInputEvent : OneToOneEvent

OneToOneEvent

A one to one event is an event that has a source (the user id) and a target (the recipient id).

abstract class OneToOneEvent : Event

PassThreadControlEvent

A pass thread control event.

class PassThreadControlEvent : OneToOneEvent

ReferralParametersEvent

A referral event is an event that contains a String reference.

class ReferralParametersEvent : OneToOneEvent

RequestThreadControlEvent

A request thread control event.

class RequestThreadControlEvent : OneToOneEvent

StartConversationEvent

Event provided when starting a conversation a conversation between a user and a bot

class StartConversationEvent : OneToOneEvent

StartSessionEvent

A new session is started.

class StartSessionEvent : Event

SubscribingEvent

The "subscribe to application" event.

class SubscribingEvent : OneToOneEvent

TakeThreadControlEvent

A take thread control event.

class TakeThreadControlEvent : OneToOneEvent

TypingOffEvent

The "end of typing" event.

class TypingOffEvent : Event

TypingOnEvent

The "start of typing" event.

class TypingOnEvent : Event