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

Return Type In Read Method From Mesage Object #1503

Closed
MeRezaRezaei opened this issue Apr 2, 2024 · 1 comment
Closed

Return Type In Read Method From Mesage Object #1503

MeRezaRezaei opened this issue Apr 2, 2024 · 1 comment

Comments

@MeRezaRezaei
Copy link

When I Try To Call $message->read(true); in Madelineproto update handler after forwarding the message to the same user who just forwarded the same message to madeline client i got the Error:
TypeError: danog\MadelineProto\EventHandler\AbstractMessage::read(): Return value must be of type bool, array returned in /var/www/html/vendor/danog/madelineproto/src/EventHandler/AbstractMessage.php:397
since the function read() is from madeline i assume its a madeline bug.
madeline.log

@danog
Copy link
Owner

danog commented Apr 7, 2024

Fixed in beta195!

@danog danog closed this as completed Apr 7, 2024
This issue was closed.
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

No branches or pull requests

2 participants