I was testing botman using a very simple controller that only hears('{message}') and replies. it replies any kind of messages except the contacts that didn't have telegram account!
ErrorException: Undefined index: user_id in file vendor\botman\driver-telegram\src\TelegramContactDriver.php on line 54
Steps To Reproduce:
I think line 54 in TelegramContactDriver.php should be like the above lines for fixing this issue:
Description:
I was testing botman using a very simple controller that only hears('{message}') and replies. it replies any kind of messages except the contacts that didn't have telegram account!
ErrorException: Undefined index: user_id in file vendor\botman\driver-telegram\src\TelegramContactDriver.php on line 54
Steps To Reproduce:
I think line 54 in TelegramContactDriver.php should be like the above lines for fixing this issue:
$this->event->get('contact')['user_id'],
=>$this->event->get('contact')['user_id'] ?? '',
do you agree with me?