Skip to content

Commit

Permalink
Deprecate model.DeleteMyCommands
Browse files Browse the repository at this point in the history
  • Loading branch information
pengrad committed Jan 13, 2024
1 parent 09bf3c3 commit 918e93d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@
import com.pengrad.telegrambot.request.BaseRequest;
import com.pengrad.telegrambot.response.BaseResponse;

/**
* @deprecated Use com.pengrad.telegrambot.request.DeleteMyCommands instead
*/
@Deprecated
public class DeleteMyCommands extends BaseRequest<DeleteMyCommands, BaseResponse> {

public DeleteMyCommands() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
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<DeleteMyCommands, BaseResponse> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import com.pengrad.telegrambot.model.request.*;
import com.pengrad.telegrambot.passport.*;
import com.pengrad.telegrambot.request.*;
import com.pengrad.telegrambot.request.DeleteMyCommands;
import com.pengrad.telegrambot.response.*;
import com.pengrad.telegrambot.utility.BotUtils;
import okhttp3.OkHttpClient;
Expand Down

0 comments on commit 918e93d

Please sign in to comment.