Merge pull request #606 from aNNiMON/stoppoll-getter

Add getter and setter for messageId in StopPoll
This commit is contained in:
Ruben Bermudez 2019-05-08 23:56:47 +01:00 committed by GitHub
commit 6e689fbf88
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,6 +60,15 @@ public class StopPoll extends BotApiMethod<Poll> {
return this;
}
public Integer getMessageId() {
return messageId;
}
public StopPoll setMessageId(Integer messageId) {
this.messageId = messageId;
return this;
}
@Override
public String getMethod() {
return PATH;