We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
Add some methods like (isVideo, isAudio, isPhoto and so on) to checking message that is an Image or a Video or ... .
Something like this: public function isPhoto() { if ($this->message->Photo() != null) { return true; } return false; }
public function isPhoto() { if ($this->message->Photo() != null) { return true; } return false; }
Thanks.
The text was updated successfully, but these errors were encountered:
Thanks @mehranabi. can you do this and send pull request for me?
Sorry, something went wrong.
OK, I'll do that.
No branches or pull requests
Hello,
Add some methods like (isVideo, isAudio, isPhoto and so on) to checking message that is an Image or a Video or ... .
Something like this:
public function isPhoto() { if ($this->message->Photo() != null) { return true; } return false; }
Thanks.
The text was updated successfully, but these errors were encountered: