You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the forwarded message comes from a deleted chat, it seems that an error will be reported.
Now forward the message to the save message of telegram, delete the original channel or chat of the message, and then forward the message from the save message to the robot, it seems that an error will be reported.
Error: Call to a member function getId() on null in /var/www/html/vendor/longman/telegram-bot/src/DB.php:1301
Stack trace:
#0 /var/www/html/vendor/longman/telegram-bot/src/DB.php(583): Longman\TelegramBot\DB::insertMessageRequest(Object(Longman\TelegramBot\Entities\Message))
#1 /var/www/html/vendor/longman/telegram-bot/src/Telegram.php(655): Longman\TelegramBot\DB::insertRequest(Object(Longman\TelegramBot\Entities\Update))
#2 /var/www/html/vendor/longman/telegram-bot/src/Telegram.php(527): Longman\TelegramBot\Telegram->processUpdate(Object(Longman\TelegramBot\Entities\Update))
I simply changed the code and the program ran normally, but it may need more sanity considerations.
🐞 Bug Report
If the forwarded message comes from a deleted chat, it seems that an error will be reported.
Now forward the message to the save message of telegram, delete the original channel or chat of the message, and then forward the message from the save message to the robot, it seems that an error will be reported.
I simply changed the code and the program ran normally, but it may need more sanity considerations.
Required Information
The text was updated successfully, but these errors were encountered: