com.pengrad.telegrambot.request.DeclineChatJoinRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of java-telegram-bot-api Show documentation
Show all versions of java-telegram-bot-api Show documentation
Java API for Telegram Bot API
package com.pengrad.telegrambot.request;
import com.pengrad.telegrambot.response.BaseResponse;
/**
* Mirco Ianese
* 17 Nov 2021
*/
public class DeclineChatJoinRequest extends BaseRequest {
/**
*
* @param chatId Unique identifier for the target chat or username of the target channel (in the format @channelusername)
* @param userId Unique identifier of the target user
*/
public DeclineChatJoinRequest(Object chatId, Long userId) {
super(BaseResponse.class);
add("chat_id", chatId);
add("user_id", userId);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy