Uses of Class
com.jtelegram.api.commands.Command
-
Packages that use Command Package Description com.jtelegram.api.commands com.jtelegram.api.commands.filters -
-
Uses of Command in com.jtelegram.api.commands
Methods in com.jtelegram.api.commands with parameters of type Command Modifier and Type Method Description void
CommandHandler. onCommand(TextMessageEvent event, Command command)
Runs this command.default boolean
CommandHandler. test(TextMessageEvent event, Command command)
-
Uses of Command in com.jtelegram.api.commands.filters
Methods in com.jtelegram.api.commands.filters with parameters of type Command Modifier and Type Method Description protected abstract boolean
AbstractCommandFilter. preTest(TextMessageEvent event, Command command)
protected boolean
ChatTypeFilter. preTest(TextMessageEvent event, Command command)
protected boolean
MentionFilter. preTest(TextMessageEvent event, Command command)
protected boolean
RegexFilter. preTest(TextMessageEvent event, Command command)
protected boolean
RootFilter. preTest(TextMessageEvent event, Command command)
protected boolean
TextFilter. preTest(TextMessageEvent event, Command command)
boolean
AbstractCommandFilter. test(TextMessageEvent event, Command command)
boolean
CommandFilter. test(TextMessageEvent event, Command command)
Checks to see if the given event and command test to betrue
according to this filter.
-