class PrivateParlorXT::StatisticsQueryHandler
Overview
A CallbackHandler
that responds to callback queries originating from the inline keyboard buttons found on the message produced by StatsCommand
Defined in:
private-parlor-xt/handlers/callback_query_handlers/statistics_query_handler.crInstance Method Summary
-
#do(callback : Tourmaline::CallbackQuery, services : Services) : Nil
Parses the query found in callback and returns the associated statistics screen if callback meets requirements
Instance methods inherited from class PrivateParlorXT::CallbackHandler
deny_user(user : User, services : Services) : Nil
deny_user,
do(callback : Tourmaline::CallbackQuery, services : Services) : Nil
do,
user_from_callback(callback : Tourmaline::CallbackQuery, services : Services) : User | Nil
user_from_callback
Constructor methods inherited from class PrivateParlorXT::CallbackHandler
new(config : Config)
new
Instance Method Detail
Parses the query found in callback and returns the associated statistics screen if callback meets requirements