com.pengrad.telegrambot.request.ReopenForumTopic 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 ReopenForumTopic extends BaseRequest {
/**
* @deprecated use constructor with Long for future compatibility
*/
@Deprecated
public ReopenForumTopic(Integer chatId, Integer messageThreadId) {
this(chatId.toString(), messageThreadId);
}
public ReopenForumTopic(Long chatId, Integer messageThreadId) {
this(chatId.toString(), messageThreadId);
}
public ReopenForumTopic(String chatId, Integer messageThreadId) {
super(BaseResponse.class);
add("chat_id", chatId);
add("message_thread_id", messageThreadId);
}
}