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

Check Type of Message #7

Closed
ghost opened this issue Jun 26, 2017 · 2 comments
Closed

Check Type of Message #7

ghost opened this issue Jun 26, 2017 · 2 comments

Comments

@ghost
Copy link

ghost commented Jun 26, 2017

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.

@abbas980301
Copy link
Owner

Thanks @mehranabi. can you do this and send pull request for me?

@ghost
Copy link
Author

ghost commented Jul 5, 2017

OK, I'll do that.

@ghost ghost closed this as completed Jul 5, 2017
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

1 participant