-
- All Implemented Interfaces:
public final class SampleBuildersKt
-
-
Method Summary
Modifier and Type Method Description final static BotBuswithSample(BotBus $self, Function0<SampleMessage> messageProvider)Adds a Sample ConnectorMessage if the current connector is Sample. final static SampleMessagesampleMessage(I18nTranslator $self, CharSequence title, SampleButton buttons)Creates a text with buttons. final static SampleButtonsampleButton(BotBus $self, CharSequence title, IntentAware targetIntent, StoryStep<out StoryHandlerDefinition> step, Parameters parameters)Creates a sample button. -
-
Method Detail
-
withSample
final static BotBus withSample(BotBus $self, Function0<SampleMessage> messageProvider)
Adds a Sample ConnectorMessage if the current connector is Sample. You need to call BotBus.send or BotBus.end later to send this message.
-
sampleMessage
final static SampleMessage sampleMessage(I18nTranslator $self, CharSequence title, SampleButton buttons)
Creates a text with buttons.
-
sampleButton
final static SampleButton sampleButton(BotBus $self, CharSequence title, IntentAware targetIntent, StoryStep<out StoryHandlerDefinition> step, Parameters parameters)
Creates a sample button.
-
-
-
-