Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix PHP Error - Call to a member function getChat() on null #1457

Merged
merged 1 commit into from
May 24, 2024

Conversation

AkramiPro
Copy link
Contributor

@AkramiPro AkramiPro commented Apr 28, 2024

? !
Type bug
BC Break yes
Fixed issues #1456

Summary

in some case maybe users want to edit command and when the commend edited the $this->getMessage() return null and must use $this->getEditedMessage() to fix this issue

in some case maybe users want to edit command and when the commend edited the $this->getMessage() return null and must use $this->getEditedMessage() to fix this issue
@noplanman noplanman merged commit 784c209 into php-telegram-bot:develop May 24, 2024
1 check passed
@noplanman
Copy link
Member

@AkramiPro Thanks! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants