[pull] develop from pyrogram:develop#33
Open
pull[bot] wants to merge 55 commits intofakegit:developfrom
Open
Conversation
but preserve closing tags
Show exactly what is being sent and received
Closes #414
Telegram now allows uploads up to 2000 MiB in size (4000 parts)
There are two distinct ChatFull types using the same name (but different namespaces), their objects are kept in chat_full and full_chat.
* Use raw string for re pattern * Trim trailing whitespaces from docstrings and code * Use isinstance() instead of type() for typechecking * Remove unused imports
Reloading from disk causes modules to be re-evaluated, and this is often not desirable. This will break the ability to hot reload plugins
* Add parse_mode property to Client This breaks set_parse_mode * Add back set_parse_mode for backwards compatibility
* ability to change file_name in editmessagemedia method * ability to change file_name in editmessagemedia method * ability to change file_name in editmessagemedia method * Update edit_message_media.py * Update input_media_document.py Co-authored-by: GadzhievSA <[email protected]> Co-authored-by: Dan <[email protected]>
* Add message.link attribute Adds the functionality to access the message link. Either as `t.me/c/` or `t.me/username` format. * Change message.link logic Property now has a returned type, list is a tuple and we use `utils.get_channel_id` to not rely on str.replace * Update message.py - Prepend https:// like official clients do - Use .format() Co-authored-by: Dan <[email protected]>
Useful filter to use as default value when extending Handler class
* Add support for compiled patterns in Filters.regex and remove extra whitespaces * Update filters.py Co-authored-by: Dan <[email protected]>
…distribution (#467) Fix some syntax errors that are causing errors on python pip package distribution
reply_* bound methods weren't added to handle BinaryIO object, now they are.
Loading plugins shouldn't be considered a warning
* fix for new format This fixes the `AttributeError: 'PeerUser' object has no attribute 'channel_id'`. Maybe we should also have a method to show nearby users? * Update get_nearby_chats.py Use isinstance instead of type Co-authored-by: Dan <[email protected]>
* Add mark_chat_unread() method * Add bound method for mark_chat_unread * Update mark_chat_unread.py * Update chat.py Apply Dans suggested changes * Update mark_chat_unread.py * Update chat.py * Update compiler.py Co-authored-by: Dan <[email protected]>
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.
See Commits and Changes for more details.
Created by
pull[bot]. Want to support this open source service? Please star it : )