Handler functions for each step (Step 0, Step 1, ...)
Registers a handler for inline button clicks (callback_query).
String or regular expression to check callback_data
Functions that will be executed on a match
Registers a handler for a specific command (or an array of commands).
Command name without the slash (e.g., 'start' or ['start', 'help'])
Functions that will be executed if the command matches
Returns all handlers registered in this class as one large function. Wrapped in try...catch to intercept errors.
Registers a handler that will trigger under certain conditions (update type, presence of a field or entity).
Field name or array of names (e.g., 'photo', 'document', 'callback_query')
Handler functions that will be executed on a match
Adds a general handler or an ENTIRE MODULE (another Composer).
StaticcomposeMagic engine: collects an array of middlewares into a single execution chain. When one middleware calls next(), this function triggers the next one.
Unique name of the scene