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
  • 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