botman / botman/driver-telegram
how we could add custom generic events?
Open
- Dominant language
- PHP
- Stars
- 94
- Forks
- 74
- PR merge metrics
- No merged PRs in 30d
Description
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?
Contributor guide
Assessment
This issue has not been assessed yet.