struct Slack::UI::Blocks::Actions
- Slack::UI::Blocks::Actions
- Slack::UI::Block
- Struct
- Value
- Object
Defined in:
slack/ui/blocks/actions.crConstant Summary
-
ASSIGNED_TYPES =
[block_id : String | ::Nil = nil, elements : Array(Slack::UI::BlockElements::Button) | ::Nil] of TypeDeclaration
Constructors
- .new(pull : JSON::PullParser)
- .new(block_id : String | Nil = nil, elements : Array(Slack::UI::BlockElements::Button) | Nil = nil)
Instance Method Summary
- #after_initialize
- #block_id : String | Nil
- #block_id=(block_id : String | Nil)
- #elements : Array(Slack::UI::BlockElements::Button) | Nil
- #elements=(elements : Array(Slack::UI::BlockElements::Button) | Nil)
- #to_json(json : JSON::Builder)
- #type : String
Constructor methods inherited from struct Slack::UI::Block
new(pull : JSON::PullParser)
new
Constructor Detail
def self.new(block_id : String | Nil = nil, elements : Array(Slack::UI::BlockElements::Button) | Nil = nil)
#