struct Slack::UI::BlockElements::PlainTextInput
- Slack::UI::BlockElements::PlainTextInput
- Slack::UI::BlockElement
- Struct
- Value
- Object
Defined in:
slack/ui/block_elements/plain_text_input.crConstant Summary
-
ASSIGNED_TYPES =
[action_id : String, dispatch_action_config : ActionConfig | ::Nil, focus_on_load : Bool = false, initial_value : String | ::Nil, max_length : Int16 | ::Nil, min_length : Int8 | ::Nil, multiline : Bool = false, placeholder : Placeholder = Placeholder.new("Placeholder text")] of TypeDeclaration
Constructors
- .new(pull : JSON::PullParser)
- .new(action_id : String, dispatch_action_config : ActionConfig | Nil = nil, focus_on_load : Bool = false, initial_value : String | Nil = nil, max_length : Int16 | Nil = nil, min_length : Int8 | Nil = nil, multiline : Bool = false, placeholder : Placeholder = Placeholder.new("Placeholder text"))
Instance Method Summary
- #action_id : String
- #action_id=(action_id : String)
- #after_initialize
- #dispatch_action_config : ActionConfig | Nil
- #dispatch_action_config=(dispatch_action_config : ActionConfig | Nil)
- #focus_on_load : Bool
- #focus_on_load=(focus_on_load : Bool)
- #initial_value : String | Nil
- #initial_value=(initial_value : String | Nil)
- #max_length : Int16 | Nil
- #max_length=(max_length : Int16 | Nil)
- #min_length : Int8 | Nil
- #min_length=(min_length : Int8 | Nil)
- #multiline : Bool
- #multiline=(multiline : Bool)
- #placeholder : Placeholder
- #placeholder=(placeholder : Placeholder)
- #to_json(json : JSON::Builder)
- #type : String
Instance methods inherited from struct Slack::UI::BlockElement
type
type
Constructor methods inherited from struct Slack::UI::BlockElement
new(pull : JSON::PullParser)
new
Constructor Detail
def self.new(action_id : String, dispatch_action_config : ActionConfig | Nil = nil, focus_on_load : Bool = false, initial_value : String | Nil = nil, max_length : Int16 | Nil = nil, min_length : Int8 | Nil = nil, multiline : Bool = false, placeholder : Placeholder = Placeholder.new("Placeholder text"))
#