Skip to content

Refactor/stateless redis #1491

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 12 commits into
base: develop
Choose a base branch
from

Conversation

devrabie
Copy link

@devrabie devrabie commented Jul 6, 2025

? !
Type bug / feature / improvement
BC Break yes / no
Fixed issues

Summary

google-labs-jules bot and others added 12 commits July 3, 2025 20:55
- إزالة ميزة قاعدة البيانات بشكل كامل من المكتبة.
- تعطيل الأوامر الإدارية التي كانت تعتمد على قاعدة البيانات (ChatsCommand, CleanupCommand).
- إزالة الأمر الإداري WhoisCommand.
- تحديث ملف README.md ليعكس التغييرات.
- تحديث الاختبارات لإزالة الاعتماديات على قاعدة البيانات.

الهدف من هذه التغييرات هو تبسيط المكتبة وتسريع عملية التطوير المستقبلية.
- تحديث اسم المشروع والوصف وروابط الدعم والمؤلفين في `composer.json`.
- استبدال محتوى `README.md` بالكامل ليعكس هوية المشروع الجديدة.
تحديث معلومات المشروع في composer.json و README.md
feat: Implement Telegram Bot API 7.2 features
docs: Update version to 1.0.2 and add changelog entry for API 7.2
This commit implements the features introduced in the Telegram Bot API 7.3 update (May 6, 2024).

Key changes include:
- Poll Enhancements:
  - New InputPollOption entity.
  - Added question_entities to Poll and text_entities to PollOption.
  - Updated sendPoll method with new options and question_entities parameters.
- Chat and getChat Refactoring:
  - New ChatFullInfo entity with max_reaction_count and other getChat-specific fields.
  - getChat method now returns ChatFullInfo.
- Miscellaneous Updates:
  - New ChatBackground, BackgroundType, and BackgroundFill entities.
  - Added chat_background_set to Message entity.
  - Added via_join_request to ChatMemberUpdated entity.
  - Added live_period to editMessageLiveLocation method.

Updated CHANGELOG.md and library version to 1.0.3.
- Removed MySQL-based internal data persistence (DB, Conversation, ConversationDB).
- Made the library stateless by removing all internal storage logic.
- Updated Telegram.php version to 1.0.4.
- Added a Redis helper (enableRedis, getRedis) using predis/predis for optional shared Redis client access in commands.
…EADME

- Removed MySQL-based internal data persistence (DB, Conversation, ConversationDB).
- Made the library stateless by removing all internal storage logic.
- Updated Telegram.php version to 1.0.4.
- Added a Redis helper (enableRedis, getRedis) using predis/predis for optional shared Redis client access in commands.
- Updated README.md with instructions and examples for the new Redis helper.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant