Thanks to visit codestin.com
Credit goes to GitHub.com

Skip to content

Conversation

@null-nick
Copy link
Collaborator

@null-nick null-nick commented Jan 30, 2026

Summary

This PR implements comprehensive support for the latest Telegram features, including high-level methods, wrapper types, and full documentation.

Key Features

  • Stories System: Full support for sending, viewing, and reacting to stories. Added StoryHandler and on_story decorator.
  • Telegram Stars & Payments: Integrated Stars balance, transactions, subscriptions, and paid media handling.
  • Star Gifts: Implemented unique gifts, gift upgrades, and auction state management.
  • Business Features: Support for Business connections, messages, quick replies (shortcuts), and chat links.
  • Boosts & Giveaways: Added channel boost status, boost application, and giveaway results parsing.
  • To-Do Lists: Implemented collaborative to-do lists media parsing and management.
  • Saved Messages: Peer-based organization and reaction tags support.
  • Python 3.14 Compatibility: Fixed TLObject generics and Union docstrings to prevent crashes on the latest Python versions.

Enhancements

  • New Filters: Added story, business, boost, todo, and paid_media.
  • Bound Methods: Added convenient shortcuts for StoryItem, QuickReply, BusinessChatLink, and SavedDialog.
  • Documentation: 14 new topic guides and 80+ API reference pages updated.
  • Dispatcher: Integrated 40+ new update types for crash-proof handling.

Pyrogram-Mod - Dev added 5 commits January 30, 2026 09:51
Add KeyboardButtonStyle for button styling (bg colors, icons).
Add StarGift and StarGiftUnique types for star gift handling.
Add new MessageServiceType entries: STAR_GIFT, STAR_GIFT_UNIQUE,
NEW_CREATOR_PENDING, CHANGE_CREATOR.
Update KeyboardButton to support style parameter.
Update Message parser to handle new service message actions.
Add styled_keyboards example demonstrating KeyboardButtonStyle usage
with bg_primary, bg_danger, bg_success colors and custom icons.
Add star_gifts example showing how to handle StarGift service messages
and filter for STAR_GIFT, STAR_GIFT_UNIQUE, NEW_CREATOR_PENDING,
and CHANGE_CREATOR message types.
- Corrected request_write_access type hint in LoginUrl (str -> bool)
- Applied InputKeyboardButtonUserProfile input_user fix
- Added style support to all inline button types
- Updated documentation with comprehensive examples
@null-nick null-nick changed the title Feat feat: stories, stars, business, boosts, todo and saved messages Jan 30, 2026
@null-nick null-nick marked this pull request as draft January 30, 2026 09:20
Pyrogram-Mod - Dev added 2 commits January 30, 2026 10:48
…ports

- Restored missing implementation files for PeerColor, StickerSet, PremiumGiftCodeOption, StarRefProgram, GroupCallMessage, and GroupCallStreamChannel.
- Updated pyrogram/sync.py with event loop handling for Python 3.14.
- Fixed missing exports in pyrogram/types/ package and subpackages.
- Updated compiler templates and filters documentation.
@null-nick null-nick marked this pull request as ready for review January 30, 2026 10:03
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.

2 participants