com.pengrad.telegrambot.request.RevokeChatInviteLink 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.ChatInviteLinkResponse;
/**
* Stas Parshin
* 10 March 2021
*/
public class RevokeChatInviteLink extends BaseRequest {
public RevokeChatInviteLink(Object chatId, String inviteLink) {
super(ChatInviteLinkResponse.class);
add("chat_id", chatId);
add("invite_link", inviteLink);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy