com.slack.api.model.block.composition.DispatchActionConfig Maven / Gradle / Ivy
package com.slack.api.model.block.composition;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
/**
* https://api.slack.com/reference/block-kit/composition-objects#dispatch_action_config
*/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class DispatchActionConfig {
/**
* 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.
*/
private List triggerActionsOn;
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy