telegrambots-extensions java 9 supported
This commit is contained in:
parent
db9ae4f586
commit
c0b903e689
@ -1,4 +1,4 @@
|
||||
package org.telegram.telegrambots.bots.commandbot;
|
||||
package org.telegram.telegrambots.extensions.bots.commandbot;
|
||||
|
||||
|
||||
import org.telegram.telegrambots.meta.ApiContext;
|
||||
@ -7,10 +7,9 @@ import org.telegram.telegrambots.meta.api.objects.Update;
|
||||
import org.telegram.telegrambots.meta.bots.AbsSender;
|
||||
import org.telegram.telegrambots.bots.DefaultBotOptions;
|
||||
import org.telegram.telegrambots.bots.TelegramLongPollingBot;
|
||||
import org.telegram.telegrambots.bots.commandbot.commands.BotCommand;
|
||||
import org.telegram.telegrambots.bots.commandbot.commands.CommandRegistry;
|
||||
import org.telegram.telegrambots.bots.commandbot.commands.IBotCommand;
|
||||
import org.telegram.telegrambots.bots.commandbot.commands.ICommandRegistry;
|
||||
import org.telegram.telegrambots.extensions.bots.commandbot.commands.CommandRegistry;
|
||||
import org.telegram.telegrambots.extensions.bots.commandbot.commands.IBotCommand;
|
||||
import org.telegram.telegrambots.extensions.bots.commandbot.commands.ICommandRegistry;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Map;
|
@ -1,4 +1,4 @@
|
||||
package org.telegram.telegrambots.bots.commandbot.commands;
|
||||
package org.telegram.telegrambots.extensions.bots.commandbot.commands;
|
||||
|
||||
import org.telegram.telegrambots.meta.api.objects.Chat;
|
||||
import org.telegram.telegrambots.meta.api.objects.Message;
|
@ -1,4 +1,4 @@
|
||||
package org.telegram.telegrambots.bots.commandbot.commands;
|
||||
package org.telegram.telegrambots.extensions.bots.commandbot.commands;
|
||||
|
||||
import org.telegram.telegrambots.meta.api.objects.Message;
|
||||
import org.telegram.telegrambots.meta.bots.AbsSender;
|
@ -1,4 +1,4 @@
|
||||
package org.telegram.telegrambots.bots.commandbot.commands;
|
||||
package org.telegram.telegrambots.extensions.bots.commandbot.commands;
|
||||
|
||||
import org.telegram.telegrambots.meta.api.objects.Chat;
|
||||
import org.telegram.telegrambots.meta.api.objects.Message;
|
@ -1,12 +1,8 @@
|
||||
package org.telegram.telegrambots.bots.commandbot.commands;
|
||||
package org.telegram.telegrambots.extensions.bots.commandbot.commands;
|
||||
|
||||
import org.telegram.telegrambots.meta.api.objects.Message;
|
||||
import org.telegram.telegrambots.meta.bots.AbsSender;
|
||||
|
||||
import java.util.Collection;
|
||||
import java.util.Map;
|
||||
import java.util.function.BiConsumer;
|
||||
|
||||
/**
|
||||
* This Interface represents the a Command that can be executed
|
||||
*
|
@ -1,4 +1,4 @@
|
||||
package org.telegram.telegrambots.bots.commandbot.commands;
|
||||
package org.telegram.telegrambots.extensions.bots.commandbot.commands;
|
||||
|
||||
import org.telegram.telegrambots.meta.api.objects.Message;
|
||||
import org.telegram.telegrambots.meta.bots.AbsSender;
|
@ -1,11 +1,11 @@
|
||||
package org.telegram.telegrambots.bots.commandbot.commands.helpCommand;
|
||||
package org.telegram.telegrambots.extensions.bots.commandbot.commands.helpCommand;
|
||||
|
||||
import org.telegram.telegrambots.meta.api.methods.send.SendMessage;
|
||||
import org.telegram.telegrambots.meta.api.objects.Chat;
|
||||
import org.telegram.telegrambots.meta.api.objects.User;
|
||||
import org.telegram.telegrambots.meta.bots.AbsSender;
|
||||
import org.telegram.telegrambots.bots.commandbot.commands.IBotCommand;
|
||||
import org.telegram.telegrambots.bots.commandbot.commands.ICommandRegistry;
|
||||
import org.telegram.telegrambots.extensions.bots.commandbot.commands.IBotCommand;
|
||||
import org.telegram.telegrambots.extensions.bots.commandbot.commands.ICommandRegistry;
|
||||
import org.telegram.telegrambots.meta.exceptions.TelegramApiException;
|
||||
|
||||
import java.util.Collection;
|
@ -1,4 +1,4 @@
|
||||
package org.telegram.telegrambots.bots.commandbot.commands.helpCommand;
|
||||
package org.telegram.telegrambots.extensions.bots.commandbot.commands.helpCommand;
|
||||
|
||||
/**
|
||||
* Represents a Command that, aside the normal command description provides an extended Description similar to the output of the Linux <i>man</i> command
|
@ -1,6 +1,6 @@
|
||||
package org.telegram.telegrambots.bots.commandbot.commands.helpCommand;
|
||||
package org.telegram.telegrambots.extensions.bots.commandbot.commands.helpCommand;
|
||||
|
||||
import org.telegram.telegrambots.bots.commandbot.commands.BotCommand;
|
||||
import org.telegram.telegrambots.extensions.bots.commandbot.commands.BotCommand;
|
||||
|
||||
public abstract class ManCommand extends BotCommand implements IManCommand {
|
||||
|
||||
@ -18,7 +18,7 @@ public abstract class ManCommand extends BotCommand implements IManCommand {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.telegram.telegrambots.bots.commandbot.commands.helpCommand.IManCommand#getExtendedDescription()
|
||||
* @see org.telegram.telegrambots.extensions.bots.commandbot.commands.helpCommand.IManCommand#getExtendedDescription()
|
||||
*/
|
||||
@Override
|
||||
public String getExtendedDescription() {
|
||||
@ -26,7 +26,7 @@ public abstract class ManCommand extends BotCommand implements IManCommand {
|
||||
}
|
||||
|
||||
/* (non-Javadoc)
|
||||
* @see org.telegram.telegrambots.bots.commandbot.commands.helpCommand.IManCommand#toMan()
|
||||
* @see org.telegram.telegrambots.extensions.bots.commandbot.commands.helpCommand.IManCommand#toMan()
|
||||
*/
|
||||
@Override
|
||||
public String toMan() {
|
@ -1,4 +1,4 @@
|
||||
package org.telegram.telegrambots.bots.timedbot;
|
||||
package org.telegram.telegrambots.extensions.bots.timedbot;
|
||||
|
||||
import org.telegram.telegrambots.bots.TelegramLongPollingBot;
|
||||
|
Loading…
x
Reference in New Issue
Block a user