Could someone explain that how I can add custom events on this driver?
like the array that was in TelegramDriver class
const GENERIC_EVENTS = [ 'new_chat_members', 'left_chat_member', 'new_chat_title', 'new_chat_photo', 'group_chat_created' ];
and on the other hand I have another question about hasMatchingEvent() function, how can I refer to this function in my CustomDriver class?
Could someone explain that how I can add custom events on this driver?
like the array that was in
TelegramDriverclassconst GENERIC_EVENTS = [ 'new_chat_members', 'left_chat_member', 'new_chat_title', 'new_chat_photo', 'group_chat_created' ];and on the other hand I have another question about
hasMatchingEvent()function, how can I refer to this function in my CustomDriver class?