class Tourmaline::Handlers::PhotoHandler
- Tourmaline::Handlers::PhotoHandler
- Tourmaline::EventHandler
- Reference
- Object
Defined in:
pimspiratie_bot.crConstant Summary
-
ANNOTATION =
OnPhoto
-
This is needed for the macro which registers the handler to know which annotation belongs to it.
Constructors
-
.new(group = :default, priority = 0, &block : Context -> )
All handlers need at least these 3 things in their initialize method
Instance Method Summary
-
#call(client : Client, update : Update)
All handlers also need a
#call
method.
Constructor Detail
All handlers need at least these 3 things in their initialize method