Update BotCommand.java

This commit is contained in:
Diego Schulz 2017-09-18 15:39:45 -04:00 committed by GitHub
parent cf2632b6cc
commit 4a9b0726e7

View File

@ -11,7 +11,7 @@ import org.telegram.telegrambots.bots.AbsSender;
*/ */
public abstract class BotCommand { public abstract class BotCommand {
public final static String COMMAND_INIT_CHARACTER = "/"; public final static String COMMAND_INIT_CHARACTER = "/";
public static final String COMMAND_PARAMETER_SEPARATOR = " "; public static final String COMMAND_PARAMETER_SEPARATOR_REGEXP = "\\s+";
private final static int COMMAND_MAX_LENGTH = 32; private final static int COMMAND_MAX_LENGTH = 32;
private final String commandIdentifier; private final String commandIdentifier;