Skip to content

Commit 1ffdc64

Browse files
committed
Added the parameter "protect_content" to AbstractSendRequest
1 parent cf2ea20 commit 1ffdc64

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,8 @@ public T allowSendingWithoutReply(boolean allowSendingWithoutReply) {
2929
public T replyMarkup(Keyboard replyMarkup) {
3030
return add("reply_markup", replyMarkup);
3131
}
32+
33+
public T protectContent(boolean protectContent) {
34+
return add("protect_content", protectContent);
35+
}
3236
}

0 commit comments

Comments
 (0)