Class BotCommandScopeChat
Object
BotCommandScopeChat
- All Implemented Interfaces:
Serializable,BotApiObject,Validable,BotCommandScope
- Version:
- 5.3 Represents the scope of bot commands, covering a specific chat.
- Author:
- Ruben Bermudez
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBotCommandScopeChat.BotCommandScopeChatBuilder<C extends BotCommandScopeChat,B extends BotCommandScopeChat.BotCommandScopeChatBuilder<C, B>> -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface BotCommandScope
getType
-
Constructor Details
-
BotCommandScopeChat
public BotCommandScopeChat()
-
-
Method Details
-
setChatId
-
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
-