public class ForwardMessageTest extends Object implements TestModule
| Constructor and Description |
|---|
ForwardMessageTest(TelegramBot bot) |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
void |
handle(String[] args,
Command command) |
String |
validate(Command command)
Validate if the test can be performed in these conditions (args and type of chat)
|
@ConstructorProperties(value="bot") @Generated(value="lombok") public ForwardMessageTest(TelegramBot bot)
public String validate(Command command)
TestModulevalidate in interface TestModulecommand - The command being runpublic void handle(String[] args, Command command) throws Exception
handle in interface TestModuleExceptionpublic String getName()
getName in interface TestModuleCopyright © 2017–2018. All rights reserved.