Added hasVideo() method to Message

This commit is contained in:
Relecto 2018-04-02 22:38:29 +06:00
parent 7a13821e51
commit 3534fa789d

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;
}