Skip to content

Commit 691b0ee

Browse files
committed
Added the parameter business_connection_id to the method stopPoll
1 parent 92922a0 commit 691b0ee

File tree

1 file changed

+4
-0
lines changed
  • library/src/main/java/com/pengrad/telegrambot/request

1 file changed

+4
-0
lines changed

library/src/main/java/com/pengrad/telegrambot/request/StopPoll.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,8 @@ public StopPoll(Object chatId, int messageId) {
1717
public StopPoll replyMarkup(Keyboard replyMarkup) {
1818
return add("reply_markup", replyMarkup);
1919
}
20+
21+
public StopPoll businessConnectionId(String businessConnectionId) {
22+
return add("business_connection_id", businessConnectionId);
23+
}
2024
}

0 commit comments

Comments
 (0)