All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pengrad.telegrambot.request.DeleteMyCommands Maven / Gradle / Ivy

There is a newer version: 7.11.0
Show newest version
package com.pengrad.telegrambot.request;

import com.pengrad.telegrambot.model.botcommandscope.BotCommandScope;
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy