Class DispatchActionConfig.DispatchActionConfigBuilder

java.lang.Object
com.slack.api.model.block.composition.DispatchActionConfig.DispatchActionConfigBuilder
Enclosing class:
DispatchActionConfig

public static class DispatchActionConfig.DispatchActionConfigBuilder
extends java.lang.Object
  • Method Summary

    Modifier and Type Method Description
    DispatchActionConfig build()  
    java.lang.String toString()  
    DispatchActionConfig.DispatchActionConfigBuilder triggerActionsOn​(java.util.List<java.lang.String> triggerActionsOn)
    An array of interaction types that you would like to receive a block_actions payload for.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Method Details

    • triggerActionsOn

      public DispatchActionConfig.DispatchActionConfigBuilder triggerActionsOn​(java.util.List<java.lang.String> triggerActionsOn)
      An array of interaction types that you would like to receive a block_actions payload for.

      Should be one or both of: - on_enter_pressed — payload is dispatched when user presses the enter key while the input is in focus. Hint text will appear underneath the input explaining to the user to press enter to submit. - on_character_entered — payload is dispatched when a character is entered (or removed) in the input.

      Returns:
      this.
    • build

      public DispatchActionConfig build()
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object