botman / botman/driver-telegram

how we could add custom generic events?

Open
#87 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.