struct Slack::UI::Blocks::Actions

Defined in:

slack/ui/blocks/actions.cr

Constant Summary

ASSIGNED_TYPES = [block_id : String | ::Nil = nil, elements : Array(Slack::UI::BlockElements::Button) | ::Nil] of TypeDeclaration

Constructors

Instance Method Summary

Constructor methods inherited from struct Slack::UI::Block

new(pull : JSON::PullParser) new

Constructor Detail

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

[View source]
def self.new(block_id : String | Nil = nil, elements : Array(Slack::UI::BlockElements::Button) | Nil = nil) #

Instance Method Detail

def after_initialize #

[View source]
def block_id : String | Nil #

def block_id=(block_id : String | Nil) #

def elements : Array(Slack::UI::BlockElements::Button) | Nil #

def elements=(elements : Array(Slack::UI::BlockElements::Button) | Nil) #

def to_json(json : JSON::Builder) #

[View source]
def type : String #

[View source]