struct Slack::UI::Blocks::Input

Overview

https://api.slack.com/reference/block-kit/blocks#input

Defined in:

slack/ui/blocks/input.cr

Constant Summary

ASSIGNED_TYPES = [dispatch_action : Bool = false, element : BlockElements::PlainTextInput, label : Label] of TypeDeclaration

https://api.slack.com/reference/block-kit/blocks#input

Constructors

Instance Method Summary

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


def self.new(pull : JSON::PullParser) #

https://api.slack.com/reference/block-kit/blocks#input


[View source]

Instance Method Detail

def dispatch_action : Bool #

def dispatch_action=(dispatch_action : Bool) #


def element=(element : BlockElements::PlainTextInput) #

def label : Label #

def label=(label : Label) #

def type : String #

[View source]