com.pengrad.telegrambot.request.CloseGeneralForumTopic 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;
public class CloseGeneralForumTopic extends BaseRequest {
public CloseGeneralForumTopic(Long chatId) {
this(chatId.toString());
}
public CloseGeneralForumTopic(String chatId) {
super(BaseResponse.class);
add("chat_id", chatId);
}
}