Merge pull request #606 from aNNiMON/stoppoll-getter
Add getter and setter for messageId in StopPoll
This commit is contained in:
commit
6e689fbf88
@ -60,6 +60,15 @@ public class StopPoll extends BotApiMethod<Poll> {
|
|||||||
return this;
|
return this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public Integer getMessageId() {
|
||||||
|
return messageId;
|
||||||
|
}
|
||||||
|
|
||||||
|
public StopPoll setMessageId(Integer messageId) {
|
||||||
|
this.messageId = messageId;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String getMethod() {
|
public String getMethod() {
|
||||||
return PATH;
|
return PATH;
|
||||||
|
Loading…
Reference in New Issue
Block a user