Merge pull request #427 from Relecto/dev

Added hasVideo() method to Message
This commit is contained in:
Ruben Bermudez 2018-04-02 20:22:49 +02:00 committed by GitHub
commit 9adb3921e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -357,6 +357,10 @@ public class Message implements BotApiObject {
return this.document != null;
}
public boolean hasVideo() {
return this.video != null;
}
public boolean isReply() {
return this.replyToMessage != null;
}