class Abartos::Application::Webhook

Defined in:

abartos/application/webhook.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(application : Application, id : Snowflake, token : String) #

[View source]
def self.new(application : Application, reponse_webhook wh : WebhookReponseObject) #

[View source]

Instance Method Detail

def execute(message : String) : HTTP::Client::Response #

[View source]
def execute(message : String, *, username : String | Nil = nil, components : Array(Component) = [] of Component) : HTTP::Client::Response #

[View source]

[View source]
def token : String #

[View source]