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
When the Update contains a new Object type, the following fatal is given:
PHP message: PHP Fatal error: Uncaught TypeError: Return value of unreal4u\TelegramAPI\Abstracts\TelegramTypes::mapSubObjects() must be an instance of unreal4u\TelegramAPI\Abstracts\TelegramTypes, null returned in /.../vendor/unreal4u/telegram-api/src/Abstracts/TelegramTypes.php:71
Stack trace:
#0 /.../vendor/unreal4u/telegram-api/src/Telegram/Types/Message.php(267): unreal4u\TelegramAPI\Abstracts\TelegramTypes->mapSubObjects('new_chat_member', Array)
In the case of this particular one, it was because new_chat_participant and left_chat_participant changed to new_chat_member and left_chat_member respectively (In Bot API 2.0)
The text was updated successfully, but these errors were encountered:
When the Update contains a new Object type, the following fatal is given:
In the case of this particular one, it was because new_chat_participant and left_chat_participant changed to new_chat_member and left_chat_member respectively (In Bot API 2.0)
The text was updated successfully, but these errors were encountered: