Class GetMyCommands
java.lang.Object
io.github.natanimn.telebof.requests.AbstractBaseRequest<GetMyCommands, List<BotCommand>>
io.github.natanimn.telebof.requests.get.GetMyCommands
GetMyCommands class. Returns an Array of 
BotCommand objects. If commands aren't set, an empty list is returned.- Since:
- 3 March 2025
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionlanguageCode(String language_code) Optionalscope(BotCommandScope bot_command_scope) OptionalMethods inherited from class io.github.natanimn.telebof.requests.AbstractBaseRequestexec
- 
Constructor Details- 
GetMyCommands
 
- 
- 
Method Details- 
scopeOptional- Parameters:
- bot_command_scope- A JSON-serialized object, describing scope of users. Defaults to- BotCommandScopeDefault.
- Returns:
- GetMyCommands
 
- 
languageCodeOptional- Parameters:
- language_code- A two-letter ISO 639-1 language code or an empty string
- Returns:
- GetMyCommands
 
 
-