Uses of Class
com.jtelegram.api.events.message.TextMessageEvent
-
Packages that use TextMessageEvent Package Description com.jtelegram.api.commands com.jtelegram.api.commands.filters -
-
Uses of TextMessageEvent in com.jtelegram.api.commands
Methods in com.jtelegram.api.commands with parameters of type TextMessageEvent Modifier and Type Method Description void
CommandHandler. onCommand(TextMessageEvent event, Command command)
Runs this command.void
CommandRegistry. onEvent(TextMessageEvent event)
default boolean
CommandHandler. test(TextMessageEvent event, Command command)
-
Uses of TextMessageEvent in com.jtelegram.api.commands.filters
Methods in com.jtelegram.api.commands.filters with parameters of type TextMessageEvent 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.
-