diff --git a/telegrambots-meta/src/main/java/org/telegram/telegrambots/api/objects/Message.java b/telegrambots-meta/src/main/java/org/telegram/telegrambots/api/objects/Message.java index c4210256..449e93f7 100644 --- a/telegrambots-meta/src/main/java/org/telegram/telegrambots/api/objects/Message.java +++ b/telegrambots-meta/src/main/java/org/telegram/telegrambots/api/objects/Message.java @@ -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; }