com.pengrad.telegrambot.request.UnpinChatMessage 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;
/**
* Stas Parshin
* 01 July 2017
*/
public class UnpinChatMessage extends BaseRequest {
public UnpinChatMessage(Object chatId) {
super(BaseResponse.class);
add("chat_id", chatId);
}
public UnpinChatMessage messageId(Integer messageId) {
return add("message_id", messageId);
}
public UnpinChatMessage businessConnectionId(String businessConnectionId) {
return add("business_connection_id", businessConnectionId);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy