public class LiveLocationTest extends AbstractTestModule
| Modifier and Type | Class and Description |
|---|---|
class |
LiveLocationTest.LiveLocationTimer |
bot| Constructor and Description |
|---|
LiveLocationTest(com.jtelegram.api.TelegramBot bot) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
void |
handle(String[] args,
com.jtelegram.api.commands.Command command) |
String |
validate(com.jtelegram.api.commands.Command command)
Validate if the test can be performed in these conditions (args and type of chat)
|
getBotpublic void handle(String[] args, com.jtelegram.api.commands.Command command) throws Exception
Exceptionpublic String validate(com.jtelegram.api.commands.Command command)
TestModulecommand - The command being runpublic String getName()
Copyright © 2017–2018. All rights reserved.