Skip to content

Commit

Permalink
Added hasVideo() method to Message
Browse files Browse the repository at this point in the history
  • Loading branch information
Relecto committed Apr 2, 2018
1 parent 7a13821 commit 3534fa7
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,10 @@ public boolean hasDocument() {
return this.document != null;
}

public boolean hasVideo() {
return this.video != null;
}

public boolean isReply() {
return this.replyToMessage != null;
}
Expand Down

0 comments on commit 3534fa7

Please sign in to comment.