core icon indicating copy to clipboard operation
core copied to clipboard

PHP Telegram Bot based on the official Telegram Bot API

Results 85 core issues
Sort by recently updated
recently updated
newest added

This bug is still here and must be solved! I cannot use my telegram bot because my current update_id is lower than last time, now it's in loop because DB::selectTelegramUpdate()...

### ❓ Support Question / Feature Request Hello! I would use the Doctrine ORM for our bot package, it would make sense to me, because we can use DB easier....

question

### 🎉 Feature Request #### Summary How come the namespace of this library is not matching the actual name of the project? Wouldn't make more sense to call it "php-telegram-bot/core"...

feature request

in bot telegram api For text messages we have entity type for detect url, mention, text_mention. But! For photo,video with caption how we detect url,mention.? In other hand how can...

bug

This library has a few design problems and it is very hard to extend and improve functionality. Small TODO and first steps: - [ ] Change namespace to more relevant...

code design
feature request

Use SQL internal data instead of PHP generated timestamps: ```sql `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, ``` :exclamation: Note, the date/time...

Implement some more useful tests, especially actually sending stuff, to make sure that everything works correctly. (Similar but more extensively than [the manager](https://github.com/php-telegram-bot/telegram-bot-manager/blob/6afdb0b167a85d3c3a2c34192bf3a6e614ef2b6f/tests/BotManagerTest.php#L470))

enhancement

Similar to what I've done in the Manager, it would be really great to have an "official" CLI to manage and control the bot. Some features that I think could...

Currently to create a command it must be a class with the same name like the command + "Command" in the command directory. e.g.: Command -> /foobar Class -> FooBarCommand...