Package com.pengrad.telegrambot.model
Class DeleteMyCommands
java.lang.Object
com.pengrad.telegrambot.request.BaseRequest<DeleteMyCommands,BaseResponse>
com.pengrad.telegrambot.model.DeleteMyCommands
@Deprecated public class DeleteMyCommands extends BaseRequest<DeleteMyCommands,BaseResponse>
Deprecated.
Use com.pengrad.telegrambot.request.DeleteMyCommands instead
-
Field Summary
-
Constructor Summary
Constructors Constructor Description DeleteMyCommands()
Deprecated. -
Method Summary
Modifier and Type Method Description DeleteMyCommands
languageCode(java.lang.String languageCode)
Deprecated.DeleteMyCommands
scope(BotCommandScope scope)
Deprecated.Methods inherited from class com.pengrad.telegrambot.request.BaseRequest
add, addAll, getContentType, getFileName, getMethod, getParameters, getResponseType, getTimeoutSeconds, isMultipart, toWebhookResponse
-
Constructor Details
-
DeleteMyCommands
public DeleteMyCommands()Deprecated.
-
-
Method Details
-
scope
Deprecated.- Parameters:
scope
- An object that extends the BotCommandScope class. For example: new BotCommandScopeAllPrivateChats()- Returns:
-
languageCode
Deprecated.- Parameters:
languageCode
- A two-letter ISO 639-1 language code. If empty, commands will be applied to all users from the given scope, for whose language there are no dedicated commands- Returns:
-