com.pengrad.telegrambot.request.DeleteMessage 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
* 22 May 2017
*/
public class DeleteMessage extends BaseRequest {
public DeleteMessage(Object chatId, int messageId) {
super(BaseResponse.class);
add("chat_id", chatId).add("message_id", messageId);
}
}