class Abartos::Application::Webhook::Component::Button

Defined in:

abartos/application/webhook.cr

Constructors

Instance Method Summary

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.link(label : String, url : String) : Button #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(style : Style | Nil = nil, *, label : String | Nil = nil, custom_id : String | Nil = nil, url : String | Nil = nil) #

[View source]

Instance Method Detail

def custom_id : String | Nil #

[View source]
def custom_id=(custom_id : String | Nil) #

[View source]
def label : String | Nil #

[View source]
def label=(label : String | Nil) #

[View source]
def style : Style | Nil #

[View source]
def style=(style : Style | Nil) #

[View source]
def url : String | Nil #

[View source]
def url=(url : String | Nil) #

[View source]