Merge pull request #427 from Relecto/dev
Added hasVideo() method to Message
This commit is contained in:
commit
9adb3921e5
@ -357,6 +357,10 @@ public class Message implements BotApiObject {
|
|||||||
return this.document != null;
|
return this.document != null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public boolean hasVideo() {
|
||||||
|
return this.video != null;
|
||||||
|
}
|
||||||
|
|
||||||
public boolean isReply() {
|
public boolean isReply() {
|
||||||
return this.replyToMessage != null;
|
return this.replyToMessage != null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user