Skip to content

Releases: luzrain/telegram-bot-bundle

v2.0.0

01 Mar 11:26
Compare
Choose a tag to compare
  • Drop support for symfony lower than 7;
  • Support for elegram-bot-api v3;
  • Make attributes repeatable;
  • Added new configurable options and configuration documentation;
  • Added time limit option to telegram:polling:start command;
  • Command telegram:webhook:set renamed to telegram:webhook:update
  • Command telegram:button:setcommands renamed to telegram:button:update;
  • Removed CommandDescriptionProcessor class;
  • Moved classes from TelegramBot folder to root directory;
  • User in TelegramCommand replaced by chatId. This change fixed not working reply method in group;
  • Other minor changes.

v1.3.1

19 Dec 06:16
Compare
Choose a tag to compare

Support for major versions higher than in require section
Bundle can be used with Symfony 7 now.

v1.3.0

12 Oct 10:31
Compare
Choose a tag to compare

Added interface for processing command descriptions. For translation as an example.
Example of usage:

use Luzrain\TelegramBotBundle\TelegramBot\CommandDescriptionProcessor;
use Symfony\Component\DependencyInjection\Attribute\AsAlias;

#[AsAlias('telegram_bot.description_processor')]
final class TranslatableDescriptionProcessor implements CommandDescriptionProcessor
{
    public function process(string $description): string
    {
        return $description;
    }
}

v1.2.1

02 Jul 18:09
Compare
Choose a tag to compare
  • Added integration tests;
  • Requirement symfony/framework-bundle removed and changed to concrete needed requirements.

v1.2.0

02 Jul 11:59
Compare
Choose a tag to compare
  • Added commands for set and delete bot's menu button with list of commands;
  • Added priority parameter for command attributes;
  • Fixes.

v1.1.0

30 Jun 15:07
Compare
Choose a tag to compare
  • Added long polling daemon as an alternative to webhook;
  • Command controllers are no longer required to extend the TelegramCommand class;
  • Added new configuration option with list of allowed updates you want to receive.

v1.0.0

28 Jun 17:09
Compare
Choose a tag to compare
Readme update