Class BotCommandScopeAllChatAdministrators
java.lang.Object
org.telegram.telegrambots.meta.api.objects.commands.scope.BotCommandScopeAllChatAdministrators
- All Implemented Interfaces:
Serializable
,BotApiObject
,Validable
,BotCommandScope
- Version:
- 5.3 Represents the scope of bot commands, covering all group and supergroup chat administrators.
- Author:
- Ruben Bermudez
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate()
Validates that mandatory fields are filled and optional objectsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.telegram.telegrambots.meta.api.objects.commands.scope.BotCommandScope
getType
-
Constructor Details
-
BotCommandScopeAllChatAdministrators
public BotCommandScopeAllChatAdministrators()
-
-
Method Details
-
validate
Description copied from interface:Validable
Validates that mandatory fields are filled and optional objects- Specified by:
validate
in interfaceValidable
- Throws:
TelegramApiValidationException
- If any mandatory field is empty
-