class Abartos::Application
- Abartos::Application
- Reference
- Object
Defined in:
abartos/application.crabartos/application/client.cr
abartos/application/interaction.cr
abartos/application/webhook.cr
Constructors
Instance Method Summary
- #add_callback(uuid : UUID, proc : Callback)
- #add_service(id : String, &proc : ServiceCallback) : Service
- #button(label : String | Nil = nil, style : Symbol | Nil = nil, &block : Callback)
- #button(label : String | Nil = nil, style : Symbol | Nil = nil, *, service : Service)
- #client : Abartos::Application::Client
- #digest_interaction(ctx : HTTP::Server::Context)
- #exchange_webhook_access_token(code : String, redirect_uri : String) : WebhookAccessTokenResponse | Nil
Constructor Detail
def self.new(*, client_id : Snowflake | String, client_secret : String, public_key : String | Bytes)
#
Instance Method Detail
def exchange_webhook_access_token(code : String, redirect_uri : String) : WebhookAccessTokenResponse | Nil
#