package com.slack.api.model.block.element;

import com.slack.api.model.block.composition.ConfirmationDialogObject;
import com.slack.api.model.block.composition.PlainTextObject;
import lombok.*;

/**
 * https://api.slack.com/reference/messaging/block-elements#users-select
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UsersSelectElement extends BlockElement {
    public static final String TYPE = "users_select";
    private final String type = TYPE;

    private PlainTextObject placeholder;
    private String actionId;
    private String initialUser;
    private ConfirmationDialogObject confirm;
}

@@ -231,17 +231,17 @@
 nce/
-messaging
+block-kit
 /blo
@@ -257,17 +257,17 @@
 ts#users
--
+_
 select%0A 
@@ -516,105 +516,835 @@
     
-private PlainTextObject placeholder;%0A    private String actionId;%0A    private String initialUser;
+/**%0A     * A plain_text only text object that defines the placeholder text shown on the menu.%0A     * Maximum length for the text in this field is 150 characters.%0A     */%0A    private PlainTextObject placeholder;%0A%0A    /**%0A     * An identifier for the action triggered when a menu option is selected.%0A     * You can use this when you receive an interaction payload to identify the source of the action.%0A     * Should be unique among all other action_ids used elsewhere by your app.%0A     * Maximum length for this field is 255 characters.%0A     */%0A    private String actionId;%0A%0A    /**%0A     * The user ID of any valid user to be pre-selected when the menu loads.%0A     */%0A    private String initialUser;%0A%0A    /**%0A     * A confirm object that defines an optional confirmation dialog that appears after a menu item is selected.%0A     */
 %0A   

Update UsersSelectElement