Because SlackDriver doesn't redefine hasMatchingEvent from DriverInterface, there seems to be no way of making use of BotMan's event handler mechanism ($botman->on('event_name', ...)) using this driver.
Instead, it seems that the only way is to use the fallback handler.
Because
SlackDriver
doesn't redefinehasMatchingEvent
fromDriverInterface
, there seems to be no way of making use of BotMan's event handler mechanism ($botman->on('event_name', ...)
) using this driver.Instead, it seems that the only way is to use the fallback handler.
Is there a reason for this?