Class BotCommandScopeAllGroupChats
java.lang.Object
org.telegram.telegrambots.meta.api.objects.commands.scope.BotCommandScopeAllGroupChats
- All Implemented Interfaces:
Serializable
,BotApiObject
,Validable
,BotCommandScope
- Version:
- 5.3 Represents the scope of bot commands, covering all group and supergroup chats.
- 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
-
BotCommandScopeAllGroupChats
public BotCommandScopeAllGroupChats()
-
-
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
-