Package com.pengrad.telegrambot.request
Class ApproveChatJoinRequest
java.lang.Object
com.pengrad.telegrambot.request.BaseRequest<ApproveChatJoinRequest,BaseResponse>
com.pengrad.telegrambot.request.ApproveChatJoinRequest
public class ApproveChatJoinRequest extends BaseRequest<ApproveChatJoinRequest,BaseResponse>
Mirco Ianese
17 Nov 2021
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ApproveChatJoinRequest(java.lang.Object chatId, java.lang.Long userId)
-
Method Summary
Methods inherited from class com.pengrad.telegrambot.request.BaseRequest
add, addAll, getContentType, getFileName, getMethod, getParameters, getResponseType, getTimeoutSeconds, isMultipart, toWebhookResponse
-
Constructor Details
-
ApproveChatJoinRequest
public ApproveChatJoinRequest(java.lang.Object chatId, java.lang.Long userId)- Parameters:
chatId
- Unique identifier for the target chat or username of the target channel (in the format @channelusername)userId
- Unique identifier of the target user
-