feat: stories, stars, business, boosts, todo and saved messages#37
Open
feat: stories, stars, business, boosts, todo and saved messages#37
Conversation
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
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.
added 3 commits
January 30, 2026 11:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements comprehensive support for the latest Telegram features, including high-level methods, wrapper types, and full documentation.
Key Features
StoryHandlerandon_storydecorator.TLObjectgenerics andUniondocstrings to prevent crashes on the latest Python versions.Enhancements
story,business,boost,todo, andpaid_media.StoryItem,QuickReply,BusinessChatLink, andSavedDialog.