struct
Slack::UI::Blocks::Input
- Slack::UI::Blocks::Input
- Slack::UI::Block
- Struct
- Value
- Object
Overview
https://api.slack.com/reference/block-kit/blocks#input
Defined in:
slack/ui/blocks/input.crConstant Summary
-
ASSIGNED_TYPES =
[dispatch_action : Bool = false, element : BlockElements::PlainTextInput, label : Label] of TypeDeclaration -
https://api.slack.com/reference/block-kit/blocks#input
Constructors
-
.new(element : BlockElements::PlainTextInput, label : Label, dispatch_action : Bool = false)
https://api.slack.com/reference/block-kit/blocks#input
-
.new(pull : JSON::PullParser)
https://api.slack.com/reference/block-kit/blocks#input
Instance Method Summary
- #dispatch_action : Bool
- #dispatch_action=(dispatch_action : Bool)
- #element : BlockElements::PlainTextInput
- #element=(element : BlockElements::PlainTextInput)
- #label : Label
- #label=(label : Label)
- #type : String
Constructor methods inherited from struct Slack::UI::Block
new(pull : JSON::PullParser)
new
Macros inherited from module Slack::InitializerMacros
generate_initializer
generate_initializer,
inherit_assigns
inherit_assigns,
properties_with_initializer(*type_declarations)
properties_with_initializer,
setup_initializer_hook
setup_initializer_hook
Macros inherited from module Slack::UI::DynamicTextComposition
text_object(klass, **options)
text_object
Constructor Detail
def self.new(element : BlockElements::PlainTextInput, label : Label, dispatch_action : Bool = false)
#
https://api.slack.com/reference/block-kit/blocks#input