Class BotCommandScopeAllChatAdministrators
- java.lang.Object
-
- org.telegram.telegrambots.meta.api.objects.commands.scope.BotCommandScopeAllChatAdministrators
-
- All Implemented Interfaces:
Serializable
,BotApiObject
,Validable
,BotCommandScope
public class BotCommandScopeAllChatAdministrators extends Object implements BotCommandScope
- Version:
- 5.3 Represents the scope of bot commands, covering all group and supergroup chat administrators.
- Author:
- Ruben Bermudez
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BotCommandScopeAllChatAdministrators()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
validate()
Validates that mandatory fields are filled and optional objects-
Methods 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
-
-
-
-
Method Detail
-
validate
public void validate() throws TelegramApiValidationException
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
-
-