All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pengrad.telegrambot.request.DeclineChatJoinRequest Maven / Gradle / Ivy

There is a newer version: 7.11.0
Show newest version
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