Skip to content

Commit 706ebcd

Browse files
committed
Added the method UnpinAllGeneralForumTopicMessages
1 parent 624c310 commit 706ebcd

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
package com.pengrad.telegrambot.request;
2+
3+
import com.pengrad.telegrambot.response.BaseResponse;
4+
5+
/**
6+
* 22 August 2023
7+
*/
8+
public class UnpinAllGeneralForumTopicMessages extends BaseRequest<UnpinAllGeneralForumTopicMessages, BaseResponse> {
9+
10+
public UnpinAllGeneralForumTopicMessages(Long chatId) {
11+
this(chatId.toString());
12+
}
13+
14+
public UnpinAllGeneralForumTopicMessages(String chatId) {
15+
super(BaseResponse.class);
16+
add("chat_id", chatId);
17+
}
18+
19+
}

0 commit comments

Comments
 (0)