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
Constructor Detail
def self.new(element : BlockElements::PlainTextInput, label : Label, dispatch_action : Bool = false)
#
https://api.slack.com/reference/block-kit/blocks#input