struct Slack::UI::Modal

Defined in:

slack/ui/surfaces/modal.cr

Constant Summary

ASSIGNED_TYPES = [blocks : Array(Slack::TypeAliases::ModalBlock), close : Close, submit : Submit, title : Title] of TypeDeclaration

Constructors

Instance Method Summary

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

new(pull : JSON::PullParser) new

Constructor Detail

def self.new(blocks : Array(Slack::TypeAliases::ModalBlock), close : Close, submit : Submit, title : Title) #

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

[View source]

Instance Method Detail

def blocks : Array(Slack::TypeAliases::ModalBlock) #

def blocks=(blocks : Array(Slack::TypeAliases::ModalBlock)) #

def close : Close #

def close=(close : Close) #

def submit : Submit #

def submit=(submit : Submit) #

def title : Title #

def title=(title : Title) #

def type : String #

[View source]