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

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]