com.pengrad.telegrambot.request.DeleteWebhook 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
* 07 December 2016
*/
public class DeleteWebhook extends BaseRequest {
public DeleteWebhook() {
super(BaseResponse.class);
}
public DeleteWebhook dropPendingUpdates(boolean dropPendingUpdates) {
return add("drop_pending_updates", dropPendingUpdates);
}
}