Interface IBotCommand

    • Method Detail

      • getCommandIdentifier

        String getCommandIdentifier()
        Get the identifier of this command
        Returns:
        the identifier
      • getDescription

        String getDescription()
        Get the description of this command
        Returns:
        the description as String
      • processMessage

        void processMessage​(org.telegram.telegrambots.meta.bots.AbsSender absSender,
                            org.telegram.telegrambots.meta.api.objects.Message message,
                            String[] arguments)
        Process the message and execute the command
        Parameters:
        absSender - absSender to send messages over
        message - the message to process