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

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

There is a newer version: 7.11.0
Show newest version
package com.pengrad.telegrambot.request;

import com.pengrad.telegrambot.model.ChatPermissions;
import com.pengrad.telegrambot.response.BaseResponse;

/**
 * Stas Parshin
 * 30 July 2019
 */
public class SetChatPermissions extends BaseRequest {

    public SetChatPermissions(Object chatId, ChatPermissions permissions) {
        super(BaseResponse.class);
        add("chat_id", chatId).add("permissions", permissions);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy