Added hasVideo() method to Message
This commit is contained in:
parent
7a13821e51
commit
3534fa789d
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user