class Abartos::Application::Webhook::Component::Button
- Abartos::Application::Webhook::Component::Button
- Abartos::Application::Webhook::Component
- Reference
- Object
Defined in:
abartos/application/webhook.crConstructors
- .link(label : String, url : String) : Button
- .new(pull : JSON::PullParser)
- .new(style : Style | Nil = nil, *, label : String | Nil = nil, custom_id : String | Nil = nil, url : String | Nil = nil)
Instance Method Summary
- #custom_id : String | Nil
- #custom_id=(custom_id : String | Nil)
- #label : String | Nil
- #label=(label : String | Nil)
- #style : Style | Nil
- #style=(style : Style | Nil)
- #url : String | Nil
- #url=(url : String | Nil)
Instance methods inherited from class Abartos::Application::Webhook::Component
type : Int32
type,
type=(type : Int32)
type=
Constructor methods inherited from class Abartos::Application::Webhook::Component
new(pull : JSON::PullParser)
new
Constructor Detail
def self.new(style : Style | Nil = nil, *, label : String | Nil = nil, custom_id : String | Nil = nil, url : String | Nil = nil)
#