Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how we could add custom generic events? #87

Open
aliwesome opened this issue Jul 23, 2020 · 0 comments
Open

how we could add custom generic events? #87

aliwesome opened this issue Jul 23, 2020 · 0 comments

Comments

@aliwesome
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant