Class BotCommandScopeAllChatAdministrators
Object
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate()Validates that mandatory fields are filled and optional objectsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BotCommandScope
getType
-
Constructor Details
-
BotCommandScopeAllChatAdministrators
public BotCommandScopeAllChatAdministrators()
-
-
Method Details
-
validate
Description copied from interface:ValidableValidates that mandatory fields are filled and optional objects- Specified by:
validatein interfaceValidable- Throws:
TelegramApiValidationException- If any mandatory field is empty
-