Class BotCommandScopeChatAdministrators
java.lang.Object
org.telegram.telegrambots.meta.api.objects.commands.scope.BotCommandScopeChatAdministrators
- All Implemented Interfaces:
Serializable
,BotApiObject
,Validable
,BotCommandScope
- Version:
- 5.3 Represents the scope of bot commands, covering all administrators of a specific group or supergroup chat.
- Author:
- Ruben Bermudez
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
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
-
Constructor Details
-
BotCommandScopeChatAdministrators
public BotCommandScopeChatAdministrators()
-
-
Method Details
-
setChatId
-
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
-