diff --git a/library/src/main/java/com/pengrad/telegrambot/request/DeleteMyCommands.java b/library/src/main/java/com/pengrad/telegrambot/request/DeleteMyCommands.java new file mode 100644 index 00000000..118336dd --- /dev/null +++ b/library/src/main/java/com/pengrad/telegrambot/request/DeleteMyCommands.java @@ -0,0 +1,21 @@ +package com.pengrad.telegrambot.request; + +import com.pengrad.telegrambot.model.botcommandscope.BotCommandScope; +import com.pengrad.telegrambot.request.BaseRequest; +import com.pengrad.telegrambot.response.BaseResponse; + +public class DeleteMyCommands extends BaseRequest { + public DeleteMyCommands() { + super(BaseResponse.class); + } + + public DeleteMyCommands scope(BotCommandScope scope) { + this.add("scope", scope); + return this; + } + + public DeleteMyCommands languageCode(String languageCode) { + this.add("language_code", languageCode); + return this; + } +}