-
public final class SampleBuildersKt
-
-
Method Summary
Modifier and Type Method Description final BotBuswithSample(BotBus $self, Function0<SampleMessage> messageProvider)Adds a Sample ConnectorMessage if the current connector is Sample. final SampleMessagesampleMessage(I18nTranslator $self, CharSequence title, SampleButton buttons)Creates a text with buttons. final SampleButtonsampleButton(BotBus $self, CharSequence title, IntentAware targetIntent, StoryStep<out StoryHandlerDefinition> step, Parameters parameters)Creates a sample button. -
-
Method Detail
-
withSample
final 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 SampleMessage sampleMessage(I18nTranslator $self, CharSequence title, SampleButton buttons)
Creates a text with buttons.
-
sampleButton
final SampleButton sampleButton(BotBus $self, CharSequence title, IntentAware targetIntent, StoryStep<out StoryHandlerDefinition> step, Parameters parameters)
Creates a sample button.
-
-
-
-