tock / ai.tock.bot.connector.messenger / MessengerHandler

MessengerHandler

@ConnectorHandler("messenger") @Target([AnnotationTarget.CLASS]) annotation class MessengerHandler (source)

To specify ConnectorStoryHandler for Messenger connector. KClass passed as value of this annotation must have a primary constructor with a single not optional StoryHandlerDefinitionBase argument.

Constructors

<init>

To specify ConnectorStoryHandler for Messenger connector. KClass passed as value of this annotation must have a primary constructor with a single not optional StoryHandlerDefinitionBase argument.

MessengerHandler(value: KClass<out ConnectorStoryHandler<*>>)

Properties

value

val value: KClass<out ConnectorStoryHandler<*>>