Releases: luzrain/telegram-bot-bundle
Releases · luzrain/telegram-bot-bundle
v2.0.0
- 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
Support for major versions higher than in require section
Bundle can be used with Symfony 7 now.
v1.3.0
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;
}
}